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

Incorrect padding between the first 2 glyphs of the sample text in the Hiero Bitmap Font Tool #5965

Open
1 of 7 tasks
Botondar opened this issue Mar 22, 2020 · 1 comment
Open
1 of 7 tasks

Comments

@Botondar
Copy link

Botondar commented Mar 22, 2020

Issue details

In Hiero, the distance between the first two glyphs is reduced (the padding is not applied correctly). This only happens when using the Java or the Native renderer, not when using FreeType. It also only applies to the sample text, not the actual glyph cache.

Reproduction steps/code

Pick a font, set the sample text to ASCII or NEHE and start increasing the left/right padding and the x spacing. The distance between the first two glyphs will increase way more slowly, than between the rest of the glyphs.

hiero_bug

This is an example of the issue using Arial with the Java renderer with left padding=8, right padding=6 and spacing x=8.

Version of LibGDX and/or relevant dependencies

Hiero v5

Please select the affected platforms

  • Android
  • iOS (robovm)
  • iOS (MOE)
  • HTML/GWT
  • Windows
  • Linux
  • MacOS
@LengendsNeverDie
Copy link

Ok I could visualize what the problem may be but since windows are affected maybe its a bug in the system or a bug in the code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants