Skip to main content

Module render_prep

Module render_prep 

Source
Expand description

Stream-first style/font preparation APIs for rendering pipelines.

Structs§

ChapterStylesheets
Collection of resolved stylesheet sources.
ComputedTextStyle
Cascaded and normalized text style for rendering.
EmbeddedFontFace
Embedded font face metadata extracted from EPUB CSS.
FontLimits
Limits for embedded font enumeration and registration.
FontPolicy
Fallback policy for font matching.
FontResolutionTrace
Trace output for fallback reasoning.
FontResolver
Font resolution engine.
LayoutHints
Safe layout hint clamps for text style normalization.
MemoryBudget
Hard memory/resource budgets for open/parse/style/layout/render paths.
PreparedChapter
Prepared chapter stream returned by render-prep.
RenderPrep
Render-prep orchestrator.
RenderPrepError
Structured error for style/font preparation operations.
RenderPrepErrorContext
Extended optional context for render-prep errors.
RenderPrepOptions
Render-prep orchestration options.
ResolvedFontFace
Resolved font face for a style request.
StyleConfig
Style engine options.
StyleLimits
Limits for stylesheet parsing and application.
StyledChapter
Styled chapter output.
StyledImage
Styled inline image payload.
StyledRun
Styled text run.
Styler
Lightweight style system with CSS cascade resolution.
StylesheetSource
Source stylesheet payload in chapter cascade order.

Enums§

BlockRole
Semantic block role for computed styles.
EmbeddedFontStyle
Font style descriptor for @font-face metadata.
RenderPrepTrace
Structured trace context for a streamed chapter item.
StyledEvent
Structured block/layout events.
StyledEventOrRun
Stream item for styled output.

Type Aliases§

FontFallbackPolicy
First-class public fallback policy alias.