PeachDrawing.Text
PeachDrawing.Text.OpenType
MathGlyphInfoTable Class
The MathGlyphInfo table: per-glyph italics correction, top-accent attachment, and which glyphs are extended shapes.
public sealed class MathGlyphInfoTable
Inheritance System.Object → MathGlyphInfoTable
Remarks
The per-glyph corner kerning of the MathKernInfo table is not read.
| Methods | |
|---|---|
| GetItalicsCorrection(ushort) | The glyph’s italics correction, in design units, or 0 if the font provides none for this glyph (including when the font has no MathItalicsCorrectionInfo table at all). |
| GetTopAccentAttachment(ushort) | The glyph’s top-accent horizontal attachment point, in design units, or null if the font provides none for this glyph - callers fall back to the glyph’s own geometric center (advance width / 2), per the OpenType spec’s own guidance for an uncovered glyph. |
| IsExtendedShape(ushort) | Whether the font lists the glyph as an extended shape (its ExtendedShapeCoverage table), which a math layout treats differently from an ordinary glyph when it positions scripts and accents. |