diff options
| author | Hugo Locurcio | 2018-03-01 22:23:18 +0100 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2018-03-28 22:56:29 +0200 |
| commit | 209acbaac71ee3f5183f7045379b8008403abdb5 (patch) | |
| tree | cbb2124be90c311a4bc5341ffff211541f30abbf /doc/classes/DynamicFontData.xml | |
| parent | 8a0966a8cbd95558309c63218c2fdf79bf58cedc (diff) | |
| download | godot-209acbaac71ee3f5183f7045379b8008403abdb5.tar.gz godot-209acbaac71ee3f5183f7045379b8008403abdb5.tar.zst godot-209acbaac71ee3f5183f7045379b8008403abdb5.zip | |
Add documentation for the DynamicFont hinting property
(cherry picked from commit a0ddd6122c988880c0f4f37c4d0b22293d906861)
Diffstat (limited to '')
| -rw-r--r-- | doc/classes/DynamicFontData.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/classes/DynamicFontData.xml b/doc/classes/DynamicFontData.xml index 49db0c7a2..b11636ce3 100644 --- a/doc/classes/DynamicFontData.xml +++ b/doc/classes/DynamicFontData.xml @@ -16,7 +16,19 @@ <member name="font_path" type="String" setter="set_font_path" getter="get_font_path"> The path to the vector font file. </member> + <member name="hinting" type="int" setter="set_hinting" getter="get_hinting" enum="DynamicFontData.Hinting"> + The font hinting mode used by FreeType. + </member> </members> <constants> + <constant name="HINTING_NONE" value="0" enum="Hinting"> + Disable font hinting (smoother but less crisp). + </constant> + <constant name="HINTING_LIGHT" value="1" enum="Hinting"> + Use the light font hinting mode. + </constant> + <constant name="HINTING_NORMAL" value="2" enum="Hinting"> + Use the default font hinting mode (crisper but less smooth). + </constant> </constants> </class> |
