Skip to main content

Module runtime

Module runtime 

Source
Expand description

Runtime prelude the patcher splices into the generated XeTeX engine as runtime.rs.

Structs§

EmptyFontPlatform
EmptyPlatform
EmptyResourceProvider
GlyphAssembly
OpenType MATH glyph assembly passed to the engine as an opaque pointer, freed by free_ot_assembly.
PortableClock
PortableError
The error that ended the last run and where the input stood when it did.
PortableFontMetrics
PortableFormatImage
A sealed engine state, decoded and validated once when loaded, that every engine instance clones.
PortableGlyphBounds
A glyph’s advance and control box in points, y up, as XeTeX’s getGlyphWidth and getGlyphBounds give them.
PortableHostBox
PortableHostBoxGlyph
PortableHostBoxRequest
PortableHostBoxRule
PortableHostBoxRun
PortableLinebreakRequest
PortableMathAssemblyPart
One part of an OpenType MATH glyph assembly in scaled points, as hb_ot_math_glyph_part_t.
PortableMathVariant
A larger OpenType MATH glyph variant, its advance in scaled points and -1 when there is none.
PortableNativeGlyph
PortableNativeGlyphMetrics
PortableNativeTextMetrics
PortableNodeHandle
An engine node handle, only the engine hands these out.
PortableNodeSnapshot
A read only copy of one node’s fields, dimensions in scaled points.
PortableResourceRequestRecord
PortableSourceSpan
PortableTexEngine
ResourceRequest

Enums§

FormatImageError
Why a serialized format image was rejected.
InputEncoding
XeTeX input decoding mode from xetex.h, auto is resolved at open time and ICU mappings read as bytes.
PortableErrorKind
What ended a run with an error.
PortableHostBoxStyle
PortableMathKernCorner
A corner of an OpenType MathKernInfo record (mirrors hb_ot_math_kern_t).
PortableNoadKind
The atom type of a math noad.
PortableNodeKind
What a node in engine memory is.
ResourceKind

Constants§

FILE_SIZE_PROBE_MODE
Request mode of a \filesize probe, which reads a resource only to measure it and may find nothing.
SANDBOX_OP_BUDGET
Default sandbox budget of commands and expansions, PortableTexEngine::set_sandbox_op_budget changes it.

Traits§

FontPlatform
PortablePlatform
ResourceProvider

Functions§

memory_word_bytes
Size in bytes of one TeX memory_word, 8 as in XeTeX.

Type Aliases§

PortableFontHandle