Webfonts
Convert the exported fonts to the specified webfont format(s).
Glyphs can export webfonts just fine, but, you know … For one, if you use Glyph’s builtin webfont export, the webfonts will not be post-processed by Corretto, because Corretto is only called for the “main” font format (OTF/TTF).
Corretto’s webfont conversion also removes some unnecessary tables from the font if they exist (DSIG, hdmx, kern, LTSH, VDMX). If you have installed zopfli
along with the Python FontTools, it will also take advantage of its more efficient compression for WOFF (v1) files.
Parameter
de.kutilek.corretto.webfonts
Format
format[ format[ ...]]
A space-separated list of webfont formats.
Webfont Formats
woff
woff2
ttx
Example
{
customParameters = (
{
name = de.kutilek.corretto.webfonts;
value = "woff woff2 ttx";
}
);
}
Explanation: Save the font as WOFF and WOFF2, and also save a ttx dump of the webfont next to the fonts.