Skip to content
This repository has been archived by the owner on Dec 9, 2021. It is now read-only.

setuptype/Font-Inspector

Repository files navigation

Font Inspector

Font Inspector is an analytics script for FontLab and RoboFont 2. It generates a comprehensive overview of design and metrics of all open fonts into a single HTML file.

View Example

Font Inspector image 1 of 3 Font Inspector image 2 of 3 Font Inspector image 3 of 3

How does it work?

  1. Install: Download FontInspector.py script and place it to your application script folder.
  • Select Fonts and Glyphs: Open all fonts you wish to inspect and select few glyphs in one of them.
  • Run: Run the script and it will generate a HTML file in the current font's folder.
  • Inspect: Open the HTML in your browser, preferably Google Chrome.

Keyboard

  • ←→: Overlay Alignment
  • ↑↓: Zoom
  • Space: Toggle Color
  • Esc: Reset All Settings

Some outlines don't show their startpoints, why?

Outlines without startpoints are components.

Why are some overlays red?

The outlines are incompatible. However, some incompatible glyphs might still show up as compatible. This is because sometimes it is not possible to determine compatibility just with math. See next answer for a solution.

How can I fix incompatible outlines?

The single best option is to use Prepolator. If you are a FontLab user and want to try it, you need to export your fonts to UFO format first.

Why are some bars red?

In range of styles from light to bold, sidebearings usually shrink and widths grow. If this expected progression isn't found, the bars are highlighted with red color. However, it doesn't necessarily signal an error, there are many exception to the rule.

Why are some bars grey?

Grey color represents negative sidebearings.

Disclaimer

Font Inspector was made by Ondrej Jób, who runs his type foundry Setup Type from Bratislava, Slovakia.

Font Inspector is distributed under the GNU General Public License 3.0. For any application that may be incompatible with this license, please contact me to discuss alternatives.

Font Inspector is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

jQuery is released under the terms of the MIT license.

About

Type design analytics tool for RoboFont and FontLab.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages