This is a plugin for the Glyphs font editor by Georg Seifert. After installation, it will add the menu item View > Show Vertical Metrics. You can set a keyboard shortcut in System Preferences.
The plug-in will visualize the parameters hheaAscender, hheaDescender, typoAscender, typoDescender, winAscent, and winDescent, if present in File > Font Info > Masters.
Thanks to @tntype for the idea.
- One-click install Show Vertical Metrics from Window > Plugin Manager
- Restart Glyphs.
or:
- Download the complete ZIP file and unpack it, or clone the repository.
- Double click the .glyphsReporter file. Confirm the dialog that appears in Glyphs.
- Restart Glyphs
- Open at least one glyph in Edit View.
- Use View > Show Vertical Metrics to toggle the display of the Vertical Metrics.
You can set a custom color by typing this in Window > Show Macro Panel and pressing the Run button:
Glyphs.defaults["com.mekkablue.ShowVerticalMetrics.color"] = "0.0, 0.5, 0.7"You can set up to four comma-separated numbers (red, green, blue, alpha) between 0.0 and 1.0. Specifying only one number will only overwrite red, specifying two numbers will overwrite the values for red and green, but keep the others at their default values. If you enter numbers above 1.0, they will be divided by a hundred. So you can also specify "50,80" for 50% red and 80% green and the default blue and alpha values.
You can revert to the default colors by typing this in the Macro Window and pressing the Run button:
del Glyphs.defaults["com.mekkablue.ShowVerticalMetrics.color"]The plugin needs Glyphs 2.4 or higher, running on OS X 10.9 or later. It does NOT work with Glyphs 1.x.
Copyright 2015-2017 Rainer Erich Scheichelbauer (@mekkablue). Based on sample code by Georg Seifert (@schriftgestalt).
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
See the License file included in this repository for further details.
