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
I use Pixel fonts to generate BMFont and use it in Godot, but I found it exists issue for those chars such as,.-'", and I found those chars all less 2 pixels.
for example, I input the following string to Label:
Download fontbm, move usion-pixel-font-10px-monospaced-ttf-v2024.04.05/fusion-pixel-10px-monospaced-zh_hans.ttf to fontbm root directory, compile the source code and execute the following command to generate BM font.
then move damage-number.fnt and damage-number_0.png to Godot project.
3. Create a Label, and set Theme Overrides->Fonts using damage-number.fnt.
4. Input the following string -+123456789.!`Ii,.".
Should be fixed by #90349, for previous version in should be fixable by adding 1px padding on each side (usually adding padding is a good idea, since packing glyphs without it will not work well with texture filtering).
Tested versions
Godot 4.3dev4
System information
Mac OS 14.3 - Godot4.3dev4 - Vulkan (Forward+)
Issue description
I use Pixel fonts to generate BMFont and use it in Godot, but I found it exists issue for those chars such as
,.-'"
, and I found those chars all less 2 pixels.for example, I input the following string to Label:
the UI is as follows:
Steps to reproduce
then move
damage-number.fnt
anddamage-number_0.png
to Godot project.3. Create a Label, and set
Theme Overrides->Fonts
usingdamage-number.fnt
.4. Input the following string
-+123456789.!`Ii,."
.Minimal reproduction project (MRP)
TestBMFont.zip
The text was updated successfully, but these errors were encountered: