class_dynamicfontdata.rst 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the DynamicFontData.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_DynamicFontData:
  5. DynamicFontData
  6. ===============
  7. **Inherits:** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Used with :ref:`DynamicFont<class_dynamicfont>` to describe the location of a font file.
  12. Member Variables
  13. ----------------
  14. .. _class_DynamicFontData_font_path:
  15. - :ref:`String<class_string>` **font_path** - The path to the vector font file.
  16. .. _class_DynamicFontData_hinting:
  17. - :ref:`Hinting<enum_dynamicfontdata_hinting>` **hinting** - The font hinting mode used by FreeType.
  18. Enums
  19. -----
  20. .. _enum_DynamicFontData_Hinting:
  21. enum **Hinting**
  22. - **HINTING_NONE** = **0** --- Disable font hinting (smoother but less crisp).
  23. - **HINTING_LIGHT** = **1** --- Use the light font hinting mode.
  24. - **HINTING_NORMAL** = **2** --- Use the default font hinting mode (crisper but less smooth).
  25. Description
  26. -----------
  27. Used with :ref:`DynamicFont<class_dynamicfont>` to describe the location of a vector font file for dynamic rendering at runtime.