Dynamic Font not working

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Mark425

I’m using Godot 3.0 and I copied my .otf font into project directory, created a New Dynamic Font, selected my font in the New Dynamic Font, but the Label didn’t show any text. The text did show with the default font and with a different .font font i had. I also tried this with other .ttf and .otf fonts, but they didn’t work either. Does anybody know what might be causing this? Thanks in advance.

I slightly remember that Dynamic Fonts are initiallised with size 0. Did you check that?

Also: Is your label big enough to show your teststring and doesn’t cut-off all of it because it is too small?

rolfpancake | 2018-02-22 15:16

Are you sure you imported the font under the property font_data?

DodoIta | 2018-02-23 08:28

I didn’t check the size, it works now. Thank you.

Mark425 | 2018-02-24 00:39