API reference
Preparing search index…

FontEngineCallbacks

Synchronous Rml::FontEngineInterface virtuals, captured at construction.

Omitted callbacks use upstream base defaults; registered faces provide metrics and version in Native. A table bypasses width callbacks. Core owns initialization and shutdown. Use createFontFace during initialization or face selection. Core mutation is forbidden in callbacks.

Source & inheritance
Member directory14

Properties

Properties

generateString?: FontGenerateCallback

Generate owned mesh snapshots.

Source & inheritance
getFontFaceHandle?: FontFaceCallback

Select an owned face or null.

Source & inheritance
getFontMetrics?: FontMetricsCallback

Refresh Native metrics.

Source & inheritance
getStringWidth?: FontWidthCallback

Compatibility scalar width.

Source & inheritance
getStringWidths?: FontWidthsCallback

One callback for all bulk strings; exact attached int32 output.

Source & inheritance
getVersion?: FontVersionCallback

Query geometry version.

Source & inheritance

Initialize provider.

Source & inheritance
loadFontFace?: FontLoadCallback

Metadata file overload.

Source & inheritance
loadFontFaceMemory?: FontLoadMemoryCallback

Memory snapshot overload.

Source & inheritance
loadFontFaceNamed?: FontLoadNamedCallback

Named file overload.

Source & inheritance
measureStrings?: FontMeasureCallback

Fill reusable Native packed results in one synchronous callback.

Source & inheritance
prepareFontEffects?: FontEffectsCallback

Prepare opaque effect data or null.

Source & inheritance
releaseFontResources?: FontLifecycleCallback

Release provider resources.

Source & inheritance

Shut down provider.

Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0