Skip to content

FontForge script for adding anchors quickly to many glyphs matching a regular expression (requires Tkinter)

License

Notifications You must be signed in to change notification settings

ctrlcctrlv/QuickAnchors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

QuickAnchors.py — quickly add anchors in FontForge

I use this script by:

ln -s $PWD/QuickAnchors.py $HOME/.config/fontforge/QuickAnchors.py

Then it appears as "QuickAnchors" in the FontForge «Tools» menu.

You need (Arch): python-pillow python-cairosvg tk fontforge

Further documentation can be had by reading the source code :-)

Also, the script doesn't read the anchor of the accent you are placing. It assumes the anchor will be (0, 0).

Output

Output is tab-separated values like:

glyph	x	y
a	0	0
b	0	100

Up to you to put these into your font. The font I made this for isn't using FontForge's anchors.

About

FontForge script for adding anchors quickly to many glyphs matching a regular expression (requires Tkinter)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages