Files
godot-docs/classes/class_dynamicfontdata.rst
2018-03-28 11:50:20 +02:00

48 lines
1.3 KiB
ReStructuredText

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