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
This is because the legacy 'lcd' text drawing function adds an offset when drawing the XL and XXL font characters.
The lvgl text rendering does not add this magic offset.
The comments indicate this was done for compatibility with 2.3.x.
The magic offset is also added to the 'getTextSize()' function for the XL and XXL fonts.
Currently text drawn with XXL looks like this (note the waste space at the top):
It should look like this:
IMO this magic offset should be removed, although this may change the way some existing scripts look.
since anyone using lvgl is changing code anyway, I see no issue of backward compatibility here,
So it is better make the textSize as accurate as possible.
Is there an existing issue for this problem?
What part of EdgeTX is the focus of this bug?
Transmitter firmware
Current Behavior
in LVGL the 32px font (XXLSIZE) is placed asymmetrically on the vertical line,
Expected Behavior
in LVGL the 32px font (XXLSIZE) should be placed symmetrically on the vertical line
the same as non-lvgl version
Steps To Reproduce
Version
Nightly (Please give date/commit below)
Transmitter
RadioMaster TX16S / TX16SMK2
Operating System (OS)
Windows
OS Version
win11
Anything else?
The text was updated successfully, but these errors were encountered: