See Typophile.We get requests from time to time by young designers wondering where one begins when they want to design their own font. So use your own naming and replace it when you generate the font for shipping. During development you can use any human readable name. The rest of the glyphs should be named uniXXXX where XXXX is the Unicode index. You should name all glyphs that occur in the Adobe Glyph List by their AGL glyph name. You can create them like this: font.createChar(-1, 'some_name') And are useful for open type features or building blocks to compose new glyphs. Glyphs without a unicode point can be referenced within a font by name. The 'CJK Unified Ideographs' live in 'Basic Multilingual Plane (BMP)'. The Unicode Consortium defines the Unicode standard. Glyphs and their code points: > for c in u'ABC 賢治': print ord(c). 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 |