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

MSDF has no effect on tooltips #77715

Closed
ghost opened this issue May 31, 2023 · 1 comment
Closed

MSDF has no effect on tooltips #77715

ghost opened this issue May 31, 2023 · 1 comment

Comments

@ghost
Copy link

ghost commented May 31, 2023

Godot version

4.0.3

System information

Windows 10

Issue description

Using a font with multichannel signed distance field enabled has no effect on tooltips:

tooltip_msdf

Steps to reproduce

1 - Add a Label node;
2 - Add text to the "tooltip_text" field;
3 - Set "mouse_filter" to Control.MOUSE_FILTER_STOP;
4 - Add a theme to the Label;
5 - Add the "TooltipLabel" type to the theme;
6 - Set a font with MSDF enabled in the "font" property;
7 - Run the project;
8 - Hover the Label with the mouse.

Minimal reproduction project

tooltip_msdf.zip

@Calinou
Copy link
Member

Calinou commented Jun 1, 2023

MSDF works on tooltips (notice the lack of font hinting in the tooltip), but tooltips are rendered at a lower resolution than the rest of the window. Notice how the popup's corners (which are drawn with a polygon-based StyleBoxFlat) are blurry as well.

@Calinou Calinou closed this as not planned Won't fix, can't repro, duplicate, stale Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants