-
-
Notifications
You must be signed in to change notification settings - Fork 21k
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
BMFont ignores draw while font less 2 pixels #90339
Comments
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). |
Hi @bruvzg I do add padding, I use the command to generate a new font file, but it is same as before.
|
Vertical padding should be set as well: |
Thank you @bruvzg, I add |
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: