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

[rtext] Pixelated text #2355

Closed
3 tasks done
scienclopodia opened this issue Feb 23, 2022 · 1 comment
Closed
3 tasks done

[rtext] Pixelated text #2355

scienclopodia opened this issue Feb 23, 2022 · 1 comment

Comments

@scienclopodia
Copy link

scienclopodia commented Feb 23, 2022

  • I tested it on latest raylib version from master branch
  • I checked there is no similar issue already reported
  • My code has no errors or misuse of raylib

Issue description

Fonts get blurry when using DrawTextureEx();

Environment

Windows 10

Issue Screenshot

glitch

@raysan5
Copy link
Owner

raysan5 commented Feb 24, 2022

@terminalmaster I'm afraid that's the expected behaviour. raylib uses stb_truetype for text rasterization and it does not support ClearType rasterization. One possible solution is just LoadFontEx() with a higher font size and then draw it smaller, it will improve visual quality.

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