You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Compatibility mode Control nodes (tested Label, Button, LineEdit, RichTextLabel, probably others) with imported Font with LCD subpixel antialiasing enabled messes up non-standard font-color if there is Control with default font (or non LCD subpixel antialiased) present. It also somehow depends on node hierarchy and which nodes are currently visible.
LCD_subpixel_compatability_bug.mp4
Steps to reproduce
import any font and enable LCD subpixel antialiasing for it;
Create at least 1 control with text with this font and at least 1 for default or non-LCDspa so that LCDspa font precedes non-LCDspa one in hierarchy;
Change default color for LCDspa font;
Move around so that you see only LCDspa node or both and observe unintended color change;
(optional) other LCDspa node positioned after non-LCDspa in hierarchy prevents color change when visible.
akien-mga
changed the title
Font with LCD subpixel antialiasing in compatability mode messes up color
Font with LCD subpixel antialiasing in compatibility mode messes up color
May 24, 2023
Godot version
4.0.2.stable, 4.0.3.stable
System information
Win10, i7-10870H, Intel UHD Graphics / GeForce RTX 3060 Laptop(31.0.15.3203)
Issue description
In Compatibility mode Control nodes (tested Label, Button, LineEdit, RichTextLabel, probably others) with imported Font with LCD subpixel antialiasing enabled messes up non-standard font-color if there is Control with default font (or non LCD subpixel antialiased) present. It also somehow depends on node hierarchy and which nodes are currently visible.
LCD_subpixel_compatability_bug.mp4
Steps to reproduce
Minimal reproduction project
LCD_Subpixel_n_ColorRect_antialiasing_bug.zip
The text was updated successfully, but these errors were encountered: