DynamicFontData

Inherits: Resource < Reference < Object

Used with DynamicFont to describe the location of a font file.

Description

Used with DynamicFont to describe the location of a vector font file for dynamic rendering at runtime.

Enumerations

enum Hinting:

  • HINTING_NONE = 0 — Disables 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).

Property Descriptions

Defaulttrue
Setterset_antialiased(value)
Getteris_antialiased()

If true, the font is rendered with anti-aliasing.


Default""
Setterset_font_path(value)
Getterget_font_path()

The path to the vector font file.


Default2
Setterset_hinting(value)
Getterget_hinting()

The font hinting mode used by FreeType. See Hinting for options.

Doc ID missing

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 1970-01-01 at 00:00:00. It’s the English Stable version because it’s what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.