https://github.com/ctrlcctrlv/quickanchors
FontForge script for adding anchors quickly to many glyphs matching a regular expression (requires Tkinter)
https://github.com/ctrlcctrlv/quickanchors
Last synced: over 1 year ago
JSON representation
FontForge script for adding anchors quickly to many glyphs matching a regular expression (requires Tkinter)
- Host: GitHub
- URL: https://github.com/ctrlcctrlv/quickanchors
- Owner: ctrlcctrlv
- License: apache-2.0
- Created: 2021-02-11T19:31:17.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-12T16:50:47.000Z (over 5 years ago)
- Last Synced: 2025-02-18T06:13:46.492Z (over 1 year ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `QuickAnchors.py` — quickly add anchors in FontForge
I use this script by:
```bash
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:
```tsv
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.