googlefonts / googlefonts/fontc

Implement anchor propagation for composite glyphs

Open
#502 1 comment 0 reactions 1 assignee Claimed by @cmyr View on GitHub
correctness
Dominant language
Rust
Stars
193
Forks
21
Avg merge
1d 20h
Merged PRs (30d)
60

Description

@anthrotype reports there is a fiddly process by which composite glyphs acquire anchors from their components.

* Glyphs has intelligence here; glyphsLib tries to match it but probably doesn't completely do so
* https://github.com/googlefonts/glyphsLib/blob/main/Lib/glyphsLib/builder/anchor_propagation.py
* https://github.com/googlefonts/glyphsLib/issues/368
* https://github.com/googlefonts/fontmake/issues/682 has the actual Objective-C and a python port
* implementing this may produce different results than the current glyphsLib implementation; it might be necessary to update both
* there are also references to the Glyphs logic changing; ask Georg :)
* ufo2ft has it's own implementation and they may not match
* https://github.com/googlefonts/ufo2ft/blob/main/Lib/ufo2ft/filters/propagateAnchors.py
* it is not completely clear _why_ this is true

It is not clear to what extent font developers rely on this functionality.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.