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
When creating monospace image fonts, the new kerning_pairs property allows character combo kerning settings to be applied, which is awesome. From the tooltip, though, these settings are made using two strings and an integer with [space] as the delimiter.
This seems to preclude the use of kerning settings for the [space] character itself, which causes problems with text layout (large gaps in my case).
The current "latest" docs do not seem to have information, so it's very possible I am missing something in the intended usage.
As an aside, a way to define a wildcard so that a character has the same kerning for all subsequent characters would be handy.
The text was updated successfully, but these errors were encountered:
DarkMarmot
changed the title
Kerning Pairs for Monospace Image Font Data does not support spaces
Kerning Pairs property for Monospace Image Font Data does not support spaces
Jun 12, 2024
Tested versions
System information
Godot v4.3.beta1 - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3050 (NVIDIA; 31.0.15.5176) - AMD Ryzen 7 2700 Eight-Core Processor (16 Threads)
Issue description
When creating monospace image fonts, the new
kerning_pairs
property allows character combo kerning settings to be applied, which is awesome. From the tooltip, though, these settings are made using two strings and an integer with [space] as the delimiter.This seems to preclude the use of kerning settings for the [space] character itself, which causes problems with text layout (large gaps in my case).
The current "latest" docs do not seem to have information, so it's very possible I am missing something in the intended usage.
As an aside, a way to define a wildcard so that a character has the same kerning for all subsequent characters would be handy.
Image of the settings window for quick reference.
Steps to reproduce
Minimal reproduction project (MRP)
kerning_issue.zip
The text was updated successfully, but these errors were encountered: