Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Space character removed from subset #17

Open
nhoizey opened this issue Sep 19, 2022 · 0 comments
Open

Space character removed from subset #17

nhoizey opened this issue Sep 19, 2022 · 0 comments

Comments

@nhoizey
Copy link

nhoizey commented Sep 19, 2022

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/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant