04.06.2013 Views

Glyphs-Handbook-2013

Glyphs-Handbook-2013

Glyphs-Handbook-2013

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

For more details on opening<br />

existing fonts, see<br />

glyphsapp.com/blog/<br />

importing-existing-fonts<br />

11 Import and Export<br />

11.1 FONTLAB<br />

11.1.1 From FontLab to <strong>Glyphs</strong><br />

There is a Python script available to export <strong>Glyphs</strong> files<br />

directly from within FontLab. Point your web browser to<br />

github.com/schriftgestalt/<strong>Glyphs</strong>-Scripts/ and download<br />

the script called ‘<strong>Glyphs</strong> Export.py’. To install, invoke Go > Go<br />

to Folder … in Finder, enter ~/Library/Application Support/<br />

FontLab/Studio 5/Macros/ and place the file in the Macros<br />

folder that is displayed then. After restarting FontLab, it will<br />

become available in the macro toolbar.<br />

11.1.2 From <strong>Glyphs</strong> to FontLab<br />

Again, there is a Python script to import <strong>Glyphs</strong> files into<br />

FontLab. You can get it from the same Github repository<br />

mentioned above. This time, look for a script named ‘<strong>Glyphs</strong><br />

Import.py’ and place it in your FontLab Macros folder.<br />

11.2 ROBOFONT AND OTHER UFO TOOLS<br />

<strong>Glyphs</strong> can read and write UFO files. Unfortunately, UFO files<br />

cannot contain more than one master. So, File > Export will<br />

export a Multiple Master <strong>Glyphs</strong> font as several UFO files.<br />

When importing a font project, <strong>Glyphs</strong> will try to apply its<br />

built-in naming scheme and sync the metrics of compound<br />

glyphs with their base glyphs. To prevent either of the two,<br />

you can go to <strong>Glyphs</strong> > Preferences > User Settings and check the<br />

options ‘Keep glyph names from imported files’ and ‘Disable<br />

automatic alignment in imported files’. To set these options<br />

on a per-font basis, go to File > Font Info > Other Settings, and<br />

check ‘Don’t use nice names’ or ‘Disable automatic alignment’,<br />

respectively.<br />

11.3 OPENTYPE AND TRUETYPE<br />

11.3.1 Opening Existing Fonts<br />

While you can open existing OTF, TTC, and TTF fonts, <strong>Glyphs</strong><br />

cannot reverse-engineer all the information inside a compiled<br />

font file. That means that opening an OTF and exporting it<br />

again will produce a file that is dierent from the original.<br />

For instance, you will lose all OpenType feature code, hints,<br />

<strong>Glyphs</strong> <strong>Handbook</strong>, May <strong>2013</strong> 82

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!