9 Commits

Author SHA1 Message Date
Cosimo Lupo
f02813bd54
[cu2qu/ufo] return set of modified glyph names from fonts_to_quadratic
In ufo2ft preProcessor, we need to know which specific glyphs were actually modified (converted to quadratic), in order to do other things while processing filters, not simply if the fonts were modified as a whole; thus, here I changed fonts_to_quadratic to return the set of modified glyph names instead of just True/False. The change is backward compatible because code that checks whether the returned value is True/False will continue to work since bool(set) is True for non-empty set, False for empty ones.
2024-03-04 12:11:09 +00:00
Behdad Esfahbod
52a8e3b1a4 [cu2qu.ufo] Simplify logic 2023-02-22 10:14:53 -07:00
Behdad Esfahbod
2a93984df4 [cu2qu.ufo] Black 2023-02-22 09:55:20 -07:00
Behdad Esfahbod
1f2a8b7d27 [cu2qu.ufo] Try to be smarter about "modified" 2023-02-22 09:51:59 -07:00
Behdad Esfahbod
c8b74fd6dc [cu2qu.ufo] Add all_quadratic=True 2023-02-22 09:36:09 -07:00
Nikolaus Waxweiler
d584daa8fd Blacken code 2022-12-13 11:26:36 +00:00
Cosimo Lupo
7cc4c7eb46
cu2qu: clarify DEFAULT_MAX_ERR is relative to EM, Cu2QuPen.max_err is absolute 2020-04-06 13:12:37 +01:00
Cosimo Lupo
76cc29dda4
cu2qu: fix up imports for cu2qu.ufo, cli, and related tests 2020-04-01 19:01:32 +01:00
Cosimo Lupo
6ebc8249be
Move ufo.py, cli.py, __main__.py to fontTools/cu2qu 2020-04-01 18:46:48 +01:00