Skip to content

Parse decomposeTransformedComponents from ufo2ft filters lib key #1900

@anthrotype

Description

@anthrotype

Source::compilation_flags() currently parses flattenComponents, eraseOpenCorners, and propagateAnchors from the com.github.googlei18n.ufo2ft.filters lib key, but not decomposeTransformedComponents.

The DECOMPOSE_TRANSFORMED_COMPONENTS flag already exists and works from fontc CLI, but if a DS+UFO or .glyphs source specifies this filter in lib.plist / userData, fontc ignores it.

The fix should be a one-line addition to the match in compilation_flags() in both glyphs2fontir/src/source.rs and ufo2fontir/src/source.rs.

Not sure how many fontc_crater sources are impacted (if any).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions