I am also working on a separate bitmap-to-outline TTF font (based around the same Perl scripts as Unifont) that also suffers from this problem and would like to optimize my font by automatically merging any duplicate glyphs (I do not have the patience to manually check one-by-one all cases of glyph duplication in my font).Īny help here would be greatly appreciated. Paul Hardy’s Unifont project is one example of a bitmap-to-outline-converted TTF font that suffers from duplicated glyphs within the same font, and I don’t know if there is some undocumented, automated way to detect exact glyph duplicates within a font and merge / unify them into a single glyph mapped to multiple characters. Free (libre) font editor for Windows, Mac OS X and GNU+Linux. However, the same cannot be said of BDF or HEX bitmap fonts, where glyphs like HYPHEN have to be duplicated before they can be assigned to multiple characters. TrueType allows multiple characters to share a same common glyph, like for example the HYPHEN “-” glyph being usually mapped to three characters (U+002D HYPHEN-MINUS, U+2010 HYPHEN, & U+2011 NON-BREAKING HYPHEN). If you start fontforge with a script on the command line it will not put up any windows and it will exit when the script is done. Run FontForge (For Windows10 installed in the Program Files (x86) directory, you may need to right-click 'runfontforge.exe' -> Run As Administrator). fontforge/INSTALL. I use FontForge together with Perl scripting to generate scalable bitmap-like (pixelated) outline TrueType fonts out of pure bitmap font formats like, for example, BDF and Unifoundry’s HEX. A quick work-around is to do it via the GUI Execute Script.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |