Skip to content

Space character removed from subset #17

@nhoizey

Description

@nhoizey

I was using glyphhanger with this command:

glyphhanger https://nicolas-hoizey.photo/tools/subset --subset=./assets/font/*.ttf --formats=woff2,woff --output=./src/ui/fonts/

https://nicolas-hoizey.photo/tools/subset contains a space (between Z and °), but it is not preserved in the range nor in the subsetted fonts.

I had to add the space character as a white listed one:

glyphhanger https://nicolas-hoizey.photo/tools/subset --whitelist=U+0020 --subset=./assets/font/*.ttf --formats=woff2,woff --output=./src/ui/fonts/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions