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

blurry ttf text #15

Open
Narkhos opened this issue Jun 5, 2023 · 2 comments
Open

blurry ttf text #15

Narkhos opened this issue Jun 5, 2023 · 2 comments

Comments

@Narkhos
Copy link

Narkhos commented Jun 5, 2023

Hi,

Thank you for these great examples!

I encounter some strange issue with the ttf font example. As long as I don't compile it myself, it's fine, but after recompile it with the build-all.bat, I end up with a distorded text like that:
image

I was thinking that it was an issue in the last version of emscripten and tried several builds with different versions but the problem keep showing up.

The issue appear on 2 differents computers (both on windows 11), on edge, firefox and chrome.

I tried changing the font for some other one and the problem is the same.

In the other hand, the txf font example seems to display properly.

Do you have any idea of what's appening?

@Narkhos
Copy link
Author

Narkhos commented Jun 7, 2023

I could make it work properly by downgrade embeded sdl_ttf in emscripten, the issue seems to be on their side or, maybe in the 2.20.2 release of sdl_ttf.
I Opened an issue on emscripten repository, lets wait for a response on the subject : emscripten-core/emscripten#19547

@erik-larsen
Copy link
Owner

Sorry for the late reply, and thanks for tracking that down to sdl_ttf. It looks like a byte padding issue to me.

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

2 participants