A collection of resources for Glyphs App
Table of Contents
- Display All Cooridinates
- Draw Guide from Measurement Tool
- Regenerate Components Inside of Component Glyph
- Hold down
Control + Option + Command
- Alternatively, switch to the measurement tool (L)
- While using the measurement tool (L), press
G
to create a guide.
Shift + Option + Command + C
or Glyph > Make Component Glyph- Imagine you have an empty /Aacute glyph, but have drawn the /A and the /acutecomb, this will automatically generate them back into the /Aacute glyph
- Extra hot tip: You can select multiple glyphs at once and do this. So if you added your combining diacritic characters before drawing all of your necessary components, there’s no need to individually place components later on.
- Alexei Vanyashin
- Daniel Gamage
- Eli Heuer
- Ethan Cohen
- Felipe Negrão
- Georg Seifert
- Google Fonts
- Guido Ferreyra
- Harbor Type
- Huerta Tipografica
- Jens Kutilek
- Just Another Foundry - Freemix
- Just Another Foundry - Font Production
- Kyle Wayne Benson
- Marc Foley
- Marcin Dybaś
- Mark Fromberg
- Matthew Smith
- Mekkablue (Rainer Erich Scheichelbauer)
- Mike LaGattuta
- Olli Meier
- Pedro Arilla
- Robert Janes
- Simon Cozens
- Stephen Nixon
- Tosche
- Underscore Type
- Wei Huang
These are small scripts you can run in the macro panel to do various things inside of Glyphs. Most often, they have to do with how Glyphs performs as opposed to editing your actual work.
Table of Contents
- Change Macro Panel Font Size
- Export Instances as UFOs
- Fetch Names and Unicode values of all Glyphs in Font
- Hide Metrics in Text View
- Name Guideline
- Save Vector Screenshot of Glyphs Window
Fairly straight forward. 12 in the example below represents the font size.
Glyphs.intDefaults["MacroCodeFontSize"] = 12
Glyphs built-in export as UFOs option only exports the masters, so if you need to export all of the instances or certain instances as UFOs, you can use the following script:
import os
for instance in Font.instances:
instance.generate(UFO, os.path.expanduser("~/Desktop"))
There are two more options UseProductionNames (default True)
and DecomposeSmartStuff (default True)
. In which case, the code would look like:
import os
for instance in Font.instances:
instance.generate(UFO, os.path.expanduser("~/Desktop"), UseProductionNames=False, DecomposeSmartStuff=False)
font = Glyphs.font
for i in font.glyphs:
if i.unicode:
print i.name + " - " + i.unicode
When the text tool is selected, the side-bearing values are visible beneath each glyph. By default, these metrics are hidden when the text is viewed at 75pt or smaller. To hide them at larger sizes, run the code below in the Macro panel. In this example, the metrics will be hidden at any size under 151pt.
Glyphs.intDefaults["TextModeNumbersThreshold"] = 151
This will add a name to your guideline. Just select one guideline, then run the script in the macro panel.
Layer.selection[0].name = "Guide Name Here"
This prompts a print dialog box for your Glyphs Window. Click on “PDF” in the lower left hand corner and then choose “Save as PDF.”
Font.currentTab.graphicView().window().print_(None)