Expand description
Runtime prelude for auto-patched Web2C/C2Rust engine source.
Generated code must be lowered from raw globals into PortableTexState
before it is linked into mathtex-engine.
Structs§
- Empty
Font Platform - Empty
Platform - Empty
Resource Provider - Engine
Profile - Glyph
Assembly - Heap-owned OpenType MATH glyph assembly handed to the engine as an opaque
pointer by
get_ot_assembly_ptrand reclaimed byfree_ot_assembly. - Portable
Clock - Portable
Font Metrics - Portable
Format Image - Portable
Linebreak Request - Portable
Math Assembly Part - One part of an OpenType MATH glyph assembly, all measurements in scaled
points (mirrors
hb_ot_math_glyph_part_t/ ttf-parserGlyphPart). - Portable
Math Variant - A larger OpenType MATH glyph variant: the variant glyph id and its advance in
scaled points (
-1advance means “no such variant”). - Portable
Native Glyph - Portable
Native Glyph Metrics - Portable
Native Text Metrics - Portable
Node Handle - Portable
Node Snapshot - Portable
Node Source Span - Portable
Resource Request Record - Portable
Source Span - Portable
TexEngine - Resource
Request
Enums§
- Engine
Profile Kind - Input
Encoding - Input decoding mode for a [
PortableFileHandle], mirroring XeTeX’s encoding modes (xetex.h):Bytescorresponds toRAW.AUTO/ICUMAPPINGare not stored here —AUTOis resolved to a concrete mode at open time (BOM sniff), and ICU mappings degrade toBytes. - Portable
Math Kern Corner - A corner of an OpenType
MathKernInforecord (mirrorshb_ot_math_kern_t). - Portable
Node Kind - Resource
Kind
Traits§
Functions§
- memory_
word_ bytes - Size in bytes of one TeX
memory_wordin this build. Real XeTeX packs it to 8; this engine uses a 16-byte word (thefour_quartersview isu16, buttwo_halves/cintkeep the c2rust 32-bit alignment).