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

Kerning pairs not available in DynamicFont #35730

Closed
Chaosinism opened this issue Jan 30, 2020 · 1 comment
Closed

Kerning pairs not available in DynamicFont #35730

Chaosinism opened this issue Jan 30, 2020 · 1 comment
Milestone

Comments

@Chaosinism
Copy link

Godot version:
Godot v3.1.1 Stable
Godot v3.2 Stable

OS/device including version:
Windows 10

Issue description:
kerning
Different from BitmapFont, the kerning is rendered identically for every character pair in DynamicFont.
It seems that the next character in the text (p_next) is not really taken into consideration in functions such as DynamicFont::get_char_size and DynamicFontAtSize::draw_char (unlike BitmapFont::get_char_size which queries the kerning pair map).

Steps to reproduce:
Any Label or RichTextLabel

@Calinou Calinou changed the title kerning pairs not available in DynamicFont Kerning pairs not available in DynamicFont Feb 15, 2021
@Calinou
Copy link
Member

Calinou commented Jun 18, 2022

Fixed by #49377.

@Calinou Calinou closed this as completed Jun 18, 2022
@Calinou Calinou added this to the 3.4 milestone Jun 18, 2022
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

3 participants