Skip to content

dashed glyph names in groups #1816

@frankrolf

Description

@frankrolf

When a group (e.g. @GROUP = [ A-test B C ];) contains a dashed glyph name that’s missing in the UFO file, the error output is as follows:

in top-level feature file 'features.fea' :
  ERROR: [line     4 char  12] Glyph "test" not in font.
  FATAL: [line     4 char  12] Invalid glyph range [A-test]

It seems that the group parsing assumes both A-C and A - C to be the same.
We updated the range notation to require spaces around the dash after our arm got twisted by a specific font editor, which unilaterally introduced dashes in glyph names.

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