Expand description
Renderer neutral layout IR for one typeset TeX fragment, with source spans.
Structs§
- Byte
Span - A half open span of UTF-8 byte offsets.
- FontKey
- Host chosen identity of a loaded font face.
- FontRef
- A font as the IR names it.
- Fragment
- One typeset fragment: a tree of layout nodes rooted at
root, stored densely by id. - Fragment
Metadata - How a fragment was produced.
- Glue
- Glue after glue setting.
- GlyphId
- Glyph index in an OpenType font, or the character code for TFM fonts.
- Glyph
Outline - Glyph outline in font design units, y up, empty for blank glyphs such as spaces.
- Glyph
Run - Glyphs of one font.
- Kern
- A kern.
- Layout
Box - A TeX box.
- Layout
Node - A node of the layout tree.
- Length
- A TeX dimension in scaled points, 65536 per point, arithmetic saturates.
- NodeId
- Node id, the node’s index in
Fragment::nodes. - Point
- A point in scaled points, y down.
- Positioned
Glyph - A glyph placed relative to its run.
- Source
File - A source file, such as the host’s input.
- Source
Id - Source file id, the file’s index in
SourceMap::sources. - Source
Map - Source files and the enclosing construct spans of nodes.
- Source
MapEntry - An enclosing construct span of a node, such as a macro call around it.
- Source
Origin - A resolved source relationship of a node.
- Source
Range - A span within a registered source file.
- Surface
- Extent of a fragment, the root box’s width, total height and height above the baseline.
Enums§
- Axis
- Direction a glue or kern moves the list position.
- BoxKind
- Whether a box holds a horizontal or a vertical list.
- Fragment
Error - Why a fragment breaks the IR invariants.
- Fragment
Kind - Mode a fragment was typeset in.
- Layout
Node Kind - What a layout node is.
- Outline
Command - Glyph outline command in font design units, y up.
- Placed
- A drawable item from
Fragment::flatten, lengths absolute from the surface top left, y down. - Source
Role - How a source span relates to a node.