Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit d898c1f

Browse files
author
Ian Macphail
committed
[[ Emscripten ]] Fix text metrics in embedded font file
This patch replaces the current embedded font file which has errors in the metrics used for text layout. The new version is produced using Droid Sans and Droid Sans Fallback ttf fonts by the following process: * Using fontforge, open both font files * Open the "Font info" dialog for both files from the "Element" menu * Check the font metrics for both files and update the values of the Fallback font to match the values from Droid Sans * Wait for fontforge to update the fallback font * Open the "Merge fonts" option from the "Element" menu of the window displaying the Droid Sans font * Select Droid Sans Fallback as the font to merge into Droid Sans * Once merged, choose "Generate Fonts" from the "File" menu of the Droid Sans window. * Choose an output filename and select TrueType as the output format * Click Generate. If there are any validation errors then check the glyphs indicated. Some geometry errors may not affect the glyph rendering so can be ignored
1 parent 0166a3e commit d898c1f

2 files changed

File tree

Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)