shared/images/iconfont/FONTFORGE.md
icon area set to Transparent. If the Layer is not transparent, then Sketch will invert the icon colors due to the Even Odd fill rule on the entire icon.
fill-rule being set to something that is not even-odd and path having fill setThe webfonts-generator library works by using the following dependencies to convert a series of svg files into webfonts
svg - svgicons2svgfontttf - svg2ttfImportant svg configuration
fontSize must be set to a power of 2 larger than 1000. This is because any font size (same as the em square value) below 1000 will lead to inaccurate svg paths (looks lumpy or rounded). See this issue on a discussion of font size issues.descent must be set to 0. This is because svgicons2svgfont has poor ascent/descent calculations which can put icons on a half pixel boundry for its grid size, leading to anti-aliasing which causes blurriness.Font Forge exposes a custom scripting language for applying operations to font files. This is used is desktop/yarn-helpers/font.js to run a subprocess that will operate on the TTF font from webfonts-generator to tweak some font header values.
Keyboard Shortcuts
CTRL + O Open a font file (client/shared/images/fonts/kb.ttf)CTRL + SHIFT + > Jump to a specific icon. You can filter by icon name (1-kb-iconfont-add-16) or by unicode value (uniE900).CTRL + SHIFT + F To open the font preferences (Ascent, Descent, OS/2, Metrics, GASP)Ascent/Descent
OS/2 Headers
"Grid Fitting" GASP Table
SetGasp() function. This function takes a number as the second argument indicating the flag for the GASP Table.65535.SetGasp(65535, 15) to do so.