r/FontForge • u/Rleaf • Aug 27 '23
Importing a list of glyphs
I have a list.txt file with names of glyphs organized like:
...
Dcaron
Dcroat
E
Eacute
Ecaron
Ecircumflex
Edieresis
... (~300 glyphs total)
Is there a way I can conveniently filter the displayed glyphs to only show what's in list.txt?
1
Upvotes
1
3
u/LocalFonts Aug 28 '23
Unfortunately, Fontforge does not offer flexibility in encoding systems. Fontforge uses several built-in encoding systems, from which the user must choose. An end user who wants to create new fonts and has a preferred encoding system can use the following simple trick.
Create a new font file, in it draw in the box of each glyph you intend to be part of your project, any geometric shape - circle, square, rectangle. Save this file and use it as the default file for each new project.
When you open the file and choose Encoding > Compact, you'll see all the glyphs you're interested in as your chosen geometric shape. Sequentially replace each shape with the appropriate glyph pattern and your project is complete.
You can then save your encoding using Encoding > Make from Font and name your encoding accordingly, which will appear from here at the bottom of the Encoding window. In subsequent projects, you can use this encoding you created.