ITextStudioRuntimeFontSourceBackend
public interface ITextStudioRuntimeFontSourceBackendOptional configured font-source capability for authoring validation before a backend has committed layout.
Methods
Section titled “Methods”
TryGetRuntimeFontSources(out TextStudioBackendShapedFontFace[], out string)
Section titled “TryGetRuntimeFontSources(out TextStudioBackendShapedFontFace[], out string)”bool TryGetRuntimeFontSources(out TextStudioBackendShapedFontFace[] fontFaces, out string error)Copies the configured primary, authored fallback/typeface and styled font closure into caller-owned descriptors retaining immutable owned source bytes. This must not shape text, change the target or require a committed glyph revision. Dynamically selected system faces remain authoritative through the shaped-glyph contract once selected.
Parameters
| Name | Type |
|---|---|
fontFaces |
TextStudio.TextStudioBackendShapedFontFace[] |
error |
System.String |
Returns
System.Boolean: false with an actionable diagnostic when the configured source cannot supply runtime outlines.