googlefonts / ufo2ft

A bridge from UFOs to FontTools objects (and therefore, OTFs and TTFs).
MIT License
151 stars 43 forks source link

set OVERLAP_SIMPLE when public.truetype.overlap key set on simple glyph #771

Closed anthrotype closed 1 year ago

anthrotype commented 1 year ago

It turns out we were only reading the UFO public.truetype.overlap key for composite glyphs, but not also for simple contour glyphs. This PRs adds support for that as well.

Fixes/supersedes Fixes https://github.com/googlefonts/ufo2ft/pull/615

https://unifiedfontobject.org/versions/ufo3/glyphs/glif/#publictruetypeoverlap

/cc @jenskutilek @m4rc1e

jenskutilek commented 1 year ago

Good catch, thank you!