DynamicFontData

Inherits: Resource < Reference < Object

Category: Core

Brief Description

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

Properties

boolantialiased
Stringfont_path
Hintinghinting

Enumerations

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 DynamicFont to describe the location of a vector font file for dynamic rendering at runtime.

Property Descriptions

Setterset_antialiased(value)
Getteris_antialiased()

Controls whether the font should be rendered with anti-aliasing.


Setterset_font_path(value)
Getterget_font_path()

The path to the vector font file.


Setterset_hinting(value)
Getterget_hinting()

The font hinting mode used by FreeType.