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

Runtime 2.2.1.287+ breaks font loading for sprite fonts #3

Closed
glitchroy opened this issue Dec 19, 2018 · 1 comment
Closed

Runtime 2.2.1.287+ breaks font loading for sprite fonts #3

glitchroy opened this issue Dec 19, 2018 · 1 comment
Labels
bug 😅 Juju did a bad thing

Comments

@glitchroy
Copy link

The changelog for runtime 2.2.1.287 states:

  • Asset Compiler
    • Sped up constructing texture pages from texture groups
    • Handling of cropped textures has been improved

(source)

This breaks the glyph data scanning in scribble_load_fonts() (at line 126 and following). Looking at the generated cache files, it seems that the TexturePageEntries for the font sprites now all generate with a 1px transparent border around them, regardless of texture page settings.
This causes the fonts to look jagged and cut off, probably because the sprite file is bigger than expected.

Downgrading to runtime 2.2.0.261 fixes the issue for now.

@glitchroy
Copy link
Author

Fixed in 4a1518f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 😅 Juju did a bad thing
Projects
None yet
Development

No branches or pull requests

2 participants