You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure why this is, but on both TTF files I've run on so far, the char with id 32 (' ') does not appear in the generated font, regardless of whether I load the list of chars from a file or use an existing name like ascii. I can manually add space, but I don't know if I have the x-advance right and I don't know if kerning should be different with a space. Here are two fonts generated with msdf-gdx-gen and unaltered since; neither has a char with id=32 (space).
I'm not sure why this is, but on both TTF files I've run on so far, the char with id 32 (
' '
) does not appear in the generated font, regardless of whether I load the list of chars from a file or use an existing name likeascii
. I can manually add space, but I don't know if I have the x-advance right and I don't know if kerning should be different with a space. Here are two fonts generated with msdf-gdx-gen and unaltered since; neither has a char with id=32 (space).Iosevka-Slab.zip
Generated with:
java.exe -jar msdfgen.jar -t mtsdf -d 1024 1024 -s 16 -p 5 -c Iosevka-Slab.txt Iosevka-Slab.ttf
YanoneKaffeesatz.zip
Generated with:
java.exe -jar msdfgen.jar -t mtsdf -d 1024 1024 -s 60 -p 5 -c YanoneKaffeesatz-Regular.txt YanoneKaffeesatz-Regular.ttf
If you want, I can try to submit a PR, but like I said, I'm not sure why this happens.
The text was updated successfully, but these errors were encountered: