UA_source icon indicating copy to clipboard operation
UA_source copied to clipboard

Improve text rendering

Open tbertels opened this issue 4 years ago • 2 comments

For some reason, the font doesn't render correctly, making it blurry. So much so that the text actually looks worse instead of better than in the vanilla.

The hinting should make it look better, but is a too small font used then resized? At https://github.com/Marisa-Chan/UA_source/blob/23dffe39a1c9e732446b6ea2b40da8789e5682a4/src/system/system.cpp#L105 it looks like the interface is rendered at 640x480 (4:3 ratio by the way). So I'm guessing the images and the text are added at that resolution then everything is resized to the final resolution. Is there any way to resize directly the images to the final resolution and add the text with a bigger font size?

tbertels avatar Aug 26 '21 19:08 tbertels

gfx.solidfont = yes should help

Marisa-Chan avatar Aug 27 '21 07:08 Marisa-Chan

Yes it does, thanks!

tbertels avatar Aug 27 '21 10:08 tbertels