We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6727b47 + ca10bdc commit f7ce7f7Copy full SHA for f7ce7f7
Lib/gftools/builder/operations/fontc/__init__.py
@@ -48,6 +48,11 @@ def rewrite_one_arg(args: List[str]) -> str:
48
return "--flatten-components"
49
elif filter_ == "DecomposeTransformedComponentsFilter":
50
return "--decompose-transformed-components"
51
+ elif "DecomposeComponentsFilter" in filter_:
52
+ # this is sometimes spelled with the full qualified path name as
53
+ # --filter "ufo2ft.filters.decomposeComponents::DecomposeComponentsFilter"
54
+ # e.g. in Jaquard12.glyphs so we use `in` instead of `filter_ == ...`
55
+ return "--decompose-components"
56
else:
57
# glue the filter back together for better reporting below
58
next_ = f"{next_} {filter_}"
0 commit comments