Skip to content

[colorfont_tables] Fails for any variable font with SVG table #4946

Open
@khaledhosny

Description

@khaledhosny

Observed behaviour

colorfont_tables will FAIL if a font is both variable and have an SVG table. Even though SVG table indeed does not support font variations, not every glyph in a variable fonts has variations and a font might be a variable font and a color font but the color glyphs have no variations.

Expected behaviour

The check should see if color glyphs included in the SVG table correspond to glyphs with variations in the gvar or CFF2 tables before FAIL’ing such fonts.

Resources and steps needed to reproduce

https://github.com/aliftype/raqq/releases/tag/v2.00 FAIL’s with this check even though the color glyphs have no variations.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions