|Topic was automatically imported from the old Question2Answer platform.
I am currently working on a simple dialoguebox to display texts. I chose a label to show the currently speaking npc name and then thought it would be a good idea to add a richtextlabel beneath it, but it gives me nothing but trouble.
I added a new dynamic font (pixel art style) like this:
Custom Fonts, select Normal Font, click on empty, choose newDynamicfont and load my font file
My font appears, but it is blurry af and up until now I could not find a way to set things right.
The distance between each line is pretty big. Is there any way to make it smaller? I could not find one.
Here you find a picture of my font/ richtextlabel problem. It looks awfull and even after going through all of the options, I couldn’t find a way to fix this.
I appreciate any hints given.
The blurry font problem is something I ran into as well. I was able to make it mostly work at some point in Godot 2.x, but then it broke again in a different way, like you have currently. It still remains to be fixed, see Distance field fonts are blurry · Issue #8022 · godotengine/godot · GitHub
However it might only affect distance-field fonts (see the link for details), I never tried with other kinds of fonts.
You can customize line separation in the
Custom Constants section in the inspector. Check the
Line Separation property and set either a positive or negative pixel amount.
Alternatively there are
Extra Spacing options you can tweak in your
Well, then I will have to find another pixel art font which works for me. Thanks for letting me know.
And here I thought I had thoroughly checked the inspector tab… However, thanks again. The line seperation did the trick.
Ciavarie | 2020-09-14 13:42