Skip to content

Glyph file names uXXXXX are malformed in some cases #5332

@quadrimus

Description

@quadrimus

If font is saved in .sfdir, glyphs with code point > 0xFFFF are saved to files with name uXXXXX.glyph (where XXXXX is upper-case hexadecimal number). If last digit has value > 9, underscore prefix appears.

Example

Save font as test.sfdir with two glyphs: code point 0x1F4F9 and 0x1F4FA.

Expected behavior

There will be glyph files with names:

  • u1F4F9.glyph
  • u1F4FA.glyph

Current behavior

There are glyph files with names:

  • u1F4F9.glyph
  • u1F4F_A.glyph

Fix

Pull request #5333

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