Skip to content

jenskutilek/MasterGrid

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

MasterGrid

Per-master grids for Glyphs.app

MasterGrid lets you set a grid that is not applied globally like the grid you can set in the font info, but per master.

Activate the grid display via the menu ‘View > Show Master Grid’. The grid is just a visual guide, it is not used for snapping.

Set or delete the grid for the current master via the menu ‘Edit > Master Grid…’ (you need to have the vanilla module installed to be able to display the dialog).

If you don’t want to install vanilla, you can still set the grid via the Macro Panel:

Font.masters[0].userData["de.kutilek.MasterGrid.value"] = [100, 100] # x, y
Font.masters[0].userData["de.kutilek.MasterGrid.type"]  = "units"    # absolute font units

You can also use relative subdivisions of the units per em value:

Font.masters[1].userData["de.kutilek.MasterGrid.value"] = [10, 10] # x, y
Font.masters[1].userData["de.kutilek.MasterGrid.type"]  = "div"    # subdivision of the em value

The resulting grid of the two examples will be the same for a font with 1000 units per em.

About

Per-master grids for Glyphs.app

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages