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
Font.get_char_size returns different results for TextServerAdvanced and TextServerFallback (internationalization/rendering/text_driver setting).
TextServerAdvanced:
(0, 7) # Wrong width
(4.15625, 23)
TextServerFallback:
(6, 7)
(4.15625, 23)
Note that the result is different for the attached font, but not for the standard font. My font is generated by my script, which is written similar to the Image Font importer. But a different result for different TextServer is still a bug in this case.
Godot version
v4.0.dev.custom_build [340883636]
System information
Kubuntu 21.10
Issue description
Font.get_char_size
returns different results forTextServerAdvanced
andTextServerFallback
(internationalization/rendering/text_driver
setting).TextServerAdvanced:
TextServerFallback:
Note that the result is different for the attached font, but not for the standard font. My font is generated by my script, which is written similar to the Image Font importer. But a different result for different TextServer is still a bug in this case.
Steps to reproduce
See the issue description and MRP.
Minimal reproduction project
get_char_size.zip
The text was updated successfully, but these errors were encountered: