
Patches, suggestions, and corrections are welcome.

#Setting up reference photo in fontforge free
This book is free culture, hosted on GitHub. When Things Go Wrong With FontForge Itself Prev Designing Devanagari Typefaces Next Adding Glyphs to an Arabic Font Then load FontForge and go to Encoding > Load NameList, and then use ‘Rename glyphs’, since ‘Load NameList’ onlyĪdds the custom namelist to the set of options available in subsequent rename commands. For example:įor glyphs without a Unicode point, use a codepoint of -1, such as in the last line of the above example. Custom Glyph ListsĬreate a namelist.txt file, perhaps using a spreadsheet to list Unicode codepoints and glyph names. You can now hand-code your letter in one window, and refresh the browser in the other to see it drawn on top of the guidelines. When drawing the glyph, it is common to use relative coordinates. The Em Size should remain at 1000 (as that is the height in SVG units) Go to Element > Font Info and in the General menu, place the ascender value in the “Ascent” input and the decender in the “Descent” menu. That will be the FontForge vertical point for the ascender line in their coordinate system. To set the baseline where you want it in FontForge, take the y coordinate for your baseline in SVG. 1 If you are using FF's python module, you'd do something like this to translate a single glyph: import fontforge import psMat basematrix anslate (0, 200) glyph. In the FontForge coordinate system, the baseline is at their 0 point on their vertical access. (There may be a few glyphs that go beyond those lines perhaps FontForge will do the right thing but this hasn’t been tested.)īy default FontForge will set up your baseline at y=800. Y=0 will be the ascender line and y=1000 will be the descender line. But, the height at 1000 is important for easiest import.

Width actually doesn’t matter, as long as it is wider than your glyph.

The SVG file needs to be set with viewBox="0 0 1000 1000". It is possible to draw glyphs in a general purpose illustration application (Inkscape, Adobe Illustrator, etc) and import them as EPS or SVG.
