Skip to content

Conversation

@SoloByte
Copy link
Contributor

I am not sure why this was done in the first place. If I am missing something here and there is a good reason for doing this, please tell me.

Right now when the font texture filter is set to linear when the high dpi flag is enabled the default font looks very blurry.
The screenshots were made on a 4k monitor on Windows 11 with the HIGH_DPI flag enabled.

Linear Filter Enabled / Before I changed it (Blurry)

raylib-default-font-linear-filter-enabled

Linear Filter Disabled / How it looks now with the changes (Not Blurry)

raylib-default-font-linear-filter-disabled

@raysan5 raysan5 merged commit e5a1fc4 into raysan5:master Jul 27, 2024
@raysan5
Copy link
Owner

raysan5 commented Jul 27, 2024

@SoloByte I'm merging it because it removes code and I like it but note that visual quality is relative to users, afair, the filter was added because some users preferred the slightly blurry text than the irregular nearest-neighbourgh scaling mode.

@SoloByte
Copy link
Contributor Author

SoloByte commented Jul 27, 2024

Thanks, okay good to know. But it is still possible to set the default-font filter to linear if the effect is wanted, correct ?

@SoloByte SoloByte deleted the highDPI-rl-texture-filter-linear-fix branch July 27, 2024 18:56
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

Successfully merging this pull request may close these issues.

2 participants