Construct an uninitialized built-in or custom Native font engine.
callbacksOptionalBuilt-in kind or synchronous virtuals; default FreeType.
Native engine kind, checked against its runtime generation.
Built-in kind or custom.
Register an owned custom face during Initialize or face selection.
metricsFinite metrics snapshot copied into Native storage.
tableOptionalGlyph advances; omitted selects JS width callbacks.
Generation-checked handle and Native-owned writable views.
Rml::FontEngineInterface::GenerateString with native mesh storage.
managerLive native render manager.
faceLive face token.
effectsPrepared effects token or null for the base face.
stringText to generate.
positionBaseline position in pixels.
colourPremultiplied RGBA bytes; RGB must not exceed alpha.
opacityEffect opacity from zero to one; defaults to one.
shapingOptionalOwned shaping context; omitted uses defaults.
Native advance and meshes with font-generation texture views.
Find a font face by family, slant, weight and pixel size; normalize the family to lowercase.
familyRegistered font family.
styleNormal or Italic.
weightInteger 1–1000.
sizePixel size from 1 to 33554431, fitting FreeType 26.6 units.
Generation-checked token or null when no face matches.
Snapshot Rml::FontEngineInterface::GetFontMetrics.
faceLive face token.
Owned shared fields, independent of the engine cache.
Measure text width in pixels using the selected font and shaping context.
faceLive face token.
stringText to measure.
shapingOptionalOwned shaping context; omitted uses defaults.
priorCharacterPrior Unicode code point; defaults to zero.
Native integer pixel width.
Measure multiple strings in one native entry, in input order.
faceLive face token.
stringsStrings sharing one face and shaping configuration.
shapingOptionalOwned shaping context; omitted uses defaults.
priorCharacterPrior code point for each string; defaults to zero.
Native-owned shared int32 widths; survive collection and shutdown.
Read the font atlas version used to detect stale text geometry.
faceLive face token.
Native version used to invalidate text geometry.
Measure packed UTF-8 slices into existing native width storage.
faceLive face token.
bufferReusable native input and output.
shapingOptionalShaping parameters; omitted uses defaults.
priorCharacterPrior code point per row; defaults to zero.
countOptionalActive rows; defaults to the append length.
The original full width view, updated in place.
Prepare ordered font effects for rendering with this face.
faceLive face token.
effectsOrdered native font effects.
Token valid only for this face and font generation.
Register upstream HarfBuzz language metadata before initialization.
languageBCP47 language tag used by TextShapingContext.language.
scriptFour-letter ISO15924 script, such as Arab or Latn.
directionFlow used when the shaping context selects Auto.
Native Rml::FontEngineInterface with shared values and host virtuals.
Remarks
Only the selected engine performs font operations. Core manages its Initialize/Shutdown lifecycle. Construction does not start a font provider. The default FreeType engine performs glyph and atlas work in C++. Custom callbacks are explicit synchronous host operations; an advance table keeps custom width computation in Native.