Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | web.user |
Hello! I have a 2D pixel-styled project with size settings 240x135.
I created a Control node scene with Label inside it. In Label I go to ‘Theme Overrides’ > Fonts > Font, selecting ‘New DynamicFont’, go to Font > ‘Font Data’ and quick load a TTF font:
With settings above the result is this:
As you can see, the font have semi-transparent pixels around it. I am struggling to get rid of it. If I try to edit anti-aliasing and hinting options, the issue persists.
As a workaround I set the scale (x; y) to (0.1; 0.1) and the font size to a big value like 160. It works, but cause problems and is unhandy. Here is the temporary fix screenshot:
(letter overlap is not an issue here)
Please help, how to achieve second result without changing scale?
Hey,
I have the same problem.
In the editor the fonts look crisp and sharp.
However, when I start running a scene in debug, the fonts get extra semi-visible pixel around the letters.
Project Settings: window size: 384 x 216 test size: 1536 x 864
I assume when the window gets scaled for testing these extra pixels occur.
Can I get rid of them?
I have filtering and anti-aliasing off.
Lempf | 2022-12-03 19:21