Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Remixful | |
Old Version | Published before Godot 3 was released. |
I imported a font and put it as the “Custom Font” property for one of the Label nodes in the scene.
How do I retrieve the current “Custom Font” that this Label is using with GDScript?
For example, I want to use the Font classes’ get_string_size function. I’m aware that the Control class has a get_font function but there’s no description or any documentation on how to use it correctly.
Any help would be much appreciated!
- Remixful