Ways to convert fonts

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By litsabber
:warning: Old Version Published before Godot 3 was released.

This is a bit of a weird question, but does anyone know how I can convert a font file to one that Godot supports. I like the engine, but the font file types it supports are outdated and I cannot find a fnt nor a converter that works, does anyone know of any good fnt font sites or a good converter?

ttf and otf are outdated? What format are you using?

eons | 2017-10-28 20:55

:bust_in_silhouette: Reply From: Calinou

The best way to use fonts in Godot (2.1 or 3.0, at the time of writing) is to use DynamicFont. You can do so by selecting a node property which expects a font resource, clicking New DynamicFont in the dropdown menu, then loading a TrueType (.ttf) or OpenType (.otf) font file in the Font Data property. See the screenshot below (which is from the Inspector, while editing the DynamicFont resource):

Note that DynamicFonts are usually more suited to modern visuals (which rarely require soft shadows or gradients), and can easily be re-generated to several sizes (which is not the case of BitmapFonts).