class-description NEWS COMMUNITY STORE LABS SIGN UP LOGIN LOGOUT ROKOJORI NEWSLETTER SIGN UP LOGIN LOGOUT NEWS COMMUNITY STORE LABS TOGGLE FULLSCREEN VOLLBILD AN/AUS ObjectRefCountedResourceFont SystemFont
A font loaded from a system font. Falls back to a default theme font if not implemented on the host OS.

SystemFont loads a font from a system font with the first matching name from font_names.

It will attempt to match font style, but it's not guaranteed.

The returned font might be part of a font collection or be a variable font with OpenType "weight", "width" and/or "italic" features set.

You can create FontVariation of the system font for precise control over its features.

bool allow_system_fallback<>():bool

If set to true, system fonts can be automatically used as fallbacks.

FontAntialiasing antialiasing<>():FontAntialiasing

Font anti-aliasing mode.

bool font_italic<>():bool

If set to true, italic or oblique font is preferred.

PackedStringArray font_names<>():PackedStringArray

Array of font family names to search, first matching font found is used.

int font_stretch<>():int

Preferred font stretch amount, compared to a normal width. A percentage value between 50% and 200%.

int font_weight<>():int

Preferred weight (boldness) of the font. A value in the 100...999 range, normal font weight is 400, bold font weight is 700.

bool force_autohinter<>():bool

If set to true, auto-hinting is supported and preferred over font built-in hinting.

bool generate_mipmaps<>():bool

If set to true, generate mipmaps for the font textures.

Hinting hinting<>():Hinting

Font hinting mode.

int msdf_pixel_range<>():int

The width of the range around the shape between the minimum and maximum representable signed distance. If using font outlines, msdf_pixel_range must be set to at least twice the size of the largest font outline. The default msdf_pixel_range value of 16 allows outline sizes up to 8 to look correct.

int msdf_size<>():int

Source font size used to generate MSDF textures. Higher values allow for more precision, but are slower to render and require more memory. Only increase this value if you notice a visible lack of precision in glyph rendering.

bool multichannel_signed_distance_field<>():bool

If set to true, glyphs of all sizes are rendered using single multichannel signed distance field generated from the dynamic font vector data.

float oversampling<>():float

Font oversampling factor, if set to 0.0 global oversampling factor is used instead.

SubpixelPositioning subpixel_positioning<>():SubpixelPositioning

Font glyph subpixel positioning mode. Subpixel positioning provides shaper text and better kerning for smaller font sizes, at the cost of memory usage and font rasterization speed. Use TextServer.SUBPIXEL_POSITIONING_AUTO to automatically enable it based on the font size.




All social media brands are registrated trademarks and belong to their respective owners.





CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
We are using cookies on this site. Read more... Wir benutzen Cookies auf dieser Seite. Mehr lesen...