Expand description
Font configuration, text layout and positioning. Shared source syntax for authored and prepared display text.
Structs§
- Font
Family - A literal family identity or one of the three host generic preferences.
- Font
Family Report - The complete discovery and support result of one requested family.
- Font
Source Issue - An actual problem with one file or one known face in a collection.
- Font
Stack - Nonempty, ordered preferences; original named bytes and duplicates are retained.
- Font
Variant Report - Result of checking a single confirmed logical variant, independent of how many source files provide that same variant.
- Text
Anchor - A point of the complete measured block, independent of its line alignment.
- Text
Bounds - Explicit text-local finite maxima, independent of the parent’s assigned region.
- Text
Coordinate - One independently qualified coordinate of an authored text reference.
- Text
Ellipsis - An explicit derived-display program; the original source is never replaced.
- TextFit
- A font-size program, independent of terminal overflow handling.
- Text
Layout - Optional text layout instructions. Omitted fields retain owner defaults.
- Text
Offset - One exact represented finite displacement, not a data coordinate.
- Text
Orientation - A fixed screen angle, projected data direction or ordered tick-angle program.
- Text
Overflow - Complete-text presentation and its terminal fit action.
- Text
Position - A semantic reference, separate from the selected point of the text block.
- Text
Rotation - One normalized clockwise screen angle, without decimal quantization.
- Text
Visibility - Explicit text eligibility, independent of scientific ticks and marks.
Enums§
- Font
Discovery - Evidence about a requested family’s discovery in the current search scope.
- Font
Scope - Explicit scope of a font support query.
- Font
Style - Actual native style of one logical font variant.
- Font
Support - Support summary of the confirmed logical variants.
- Generic
Font Family - Closed host-resolved generic font preferences, distinct from literal names.
- Text
Alignment - Physical horizontal alignment within a text owner’s local span.
- Text
Direction - Base paragraph direction, independent of physical line alignment.
- Text
Elision - Which end of the original source an ellipsis removes.
- Text
Failure - Terminal action for an actual text-fit miss, never for font/projection errors.
- Text
FitGrouping - Whether eligible members select separate sizes or one common size.
- Text
FitPriority - Order complete-content fitting and explicitly permitted abbreviation.
- Text
Offset Frame - Coordinate frame for a signed CSS-pixel displacement.
- Text
Overlap - Whether actual label/annotation ink must avoid its peer owners.
- Text
Rotation Mode - How the selected block point relates to a rotation.
- Text
Weight - Closed text weights used by renderer-owned emphasis.
- Text
Wrapping - Soft-wrap policy; both choices preserve caller-authored mandatory breaks.
Functions§
- check_
fonts - Check explicitly selected families, or all discovered literal families, using the same discovery, generic resolution and source admission as rendering. This does not perform layout, shaping probes or trial rendering.
- check_
fonts_ with_ operation - Check font support using this call’s operation options.
- font_
families - List the actual selectable literal families discovered on the current host. This performs discovery only, without glyph probes or font admission.
- font_
families_ with_ operation - Discover actual font families using this call’s operation options.