The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates. | Twitter

0 votes

I'm trying to code a menu in Godot, but I'm having trouble using the Pixel Mplus 12 font on Godot. When I use it, even if I set the correct pixel size, it shows some kind of shadowy stuff under the text, and I want to remove it.

enter image description here

Godot version v3.2.3.stable.official
in Engine by (86 points)

probably created the shadows somewhere in the properties, still looks cool tho...

It's not a shadow. You can see the weirdness in the comma.

If it helps, the font is a DynamicFont.

1 Answer

+2 votes
Best answer

I fixed the issue by creating a DynamicFontData first.

  1. Create a new DynamicFontData
  2. Load the TTF font from "Font Path"
  3. Turn off "Antialiased" in the DynamicFontData
  4. Save the DynamicFontData
  5. Create a new DynamicFont
  6. Load the DynamicFontData into the DynamicFont from "Font > Font Data"
  7. Save the DynamicFont
  8. Apply the DynamicFont to the Node
by (86 points)

1.) How and where can I make a DynamicFontData?

2.) Can I also create and setup the DynamicFontData and DynamicFont with a .gd script?

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.