![]() ![]() createChar(uni) 'A' is 65 so char = font.createChar(65) To include a glyphlist (shouldn't be necessary)įontforge.loadNamelist('glyphlist.txt') # load a name listĬreate the glyph by code point. Start with a empty font so the font isn't the problem: import fontforgeįont = fontforge.font() # create a new font Run brew install fontforge of course with all flags you need. Run `brew linkapps` to symlink these to /Applications. Set PYTHONPATH if you need Python to find the installed site-packages:Įxport PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH ![]() Optional: cairo ✔, pango ✘, libspiro ✘, czmq ✘īuild with X11 support, including FontForge.app This is the info: allcaps$ brew info fontforge I successfully installed Fontforge with Python extension with Homebrew. Sounds like FontForge tried to map Unicode values to glyph names and couldn't. What is AGL? I looked it up: "Adobe Glyph List - a standard glyph naming convention". But since Hoff seemed not to encounter the same error I did, I'm not ruling out a build issue.Įither way, I don't understand the error involving AGL. dmg only to find it lacked python support. I had at first installed a pre-built version from a. ![]() ![]() I appear to have it up and running properly. I was happy to discover this, but still don't understand how to provide the NameList it wants.Īfter five hours of struggling yesterday with building FontForge (a confusing process on a Mac).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |