Skip to content

toktaro/Glyphs-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About

Scripts for the font editor Glyphs3

Script

  • Bumpy Deformer: Apply shape transformations similar to Adobe Illustrator's Warp effect ( Bumpy, Curve:0% ). App Screenshot

  • Add All Side SB Anchors: This script adds, updates, and deletes TSB/BSB and LSB/RSB anchor pairs to selected layers. Anchors can be positioned by specifying an offset from the glyph's bounds or from the metrics center. It assists in setting up anchor-based proportional metrics, especially useful for glyphs in CJK fonts.

  • Fit Metrics to SB Anchors: This script automatically sets a glyph's width and height based on the positions of SB anchors. It is particularly useful for designing custom anchor-based proportional metrics in CJK fonts. Additionally, it includes a function to check for the presence of SB anchor pairs, allowing you to verify them before execution.

  • Check & Fix GDEF Table: This script checks the GDEF table version of exported OTF/TTF fonts and automatically fixes incorrect 0.0 versions to the appropriate version (1.0, 1.2, or 1.3) based on the font's internal data. Additionally, it provides a GUI to verify the current GDEF version before execution and safely saves the corrected font into a new folder without overwriting the original file. Note: This script requires the vanilla and fonttools modules.

Installation

1. Install Required Modules

  1. In Glyphs 3, go to Window → Plugin Manager.
  2. Open the Python Modules tab.
  3. Click Install for: Python , Vanilla (FontTools)

2. Download the Script

  1. On GitHub, open the .py script file.
  2. Download it via: Code → Download ZIP, or Raw → Right Click → Save As...

3. Place the Script in Glyphs' Scripts Folder

  1. In Glyphs 3, go to Script → Open Scripts Folder.
  2. Copy the downloaded .py file into this folder.
    (You may create subfolders to organize your scripts.)
  3. Back to Glyphs 3, hold down the Option key and choose Script > Reload Scripts (Cmd-Opt-Shift-Y).
  4. the script will appear in the Script menu in Glyphs 3. Select it to run.

License

This project is provided under a custom license. See the LICENSE file for details.

About

Scripts for the font editor glyphs3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages