DynamicFontData

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

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

    • HINTING_NONE = 0 —- Disables font hinting (smoother but less crisp).

    • HINTING_NORMAL = 2 —- Use the default font hinting mode (crisper but less smooth).

    If true, the font is rendered with anti-aliasing. This property applies both to the main font and its outline (if it has one).


    • font_path

    The path to the vector font file.


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


    • override_oversampling

    If set to a value greater than , it will override default font oversampling, ignoring SceneTree.use_font_oversampling value and viewport stretch mode.