One glyph extracted from a page: the Unicode text it stands for, where it lies on the page, and the font, size and rendering mode it was shown with.
public readonly record struct TextGlyph : IEquatable<TextGlyph>
ISO 32000-2 §9.4.4 and §9.10. Positions are in page space: default user space (§8.3.2.3), before the page's crop box, rotation and user unit are applied, the space every content stream of the page is drawn in. The glyph's text is the range TextStart, TextLength of the extracted text (GetGlyphText(in TextGlyph)), so a page's glyphs share one string.
Members are added as text extraction grows; existing members never change.
kind:method, kind:property, kind:ctor. Press Esc to clear.AdjustmentGets the TJ number that came right before the glyph, in thousandths of text space units; 0 when none.AdvanceGets the glyph's advance in page space, character and word spacing included: the next glyph's origin is this one's plus the advance, unless a TJ number or a text positioning operator comes between.CharacterCodeGets the character code the glyph was shown with: one byte for a simple font, one to four for a composite font.CodeLengthGets the number of bytes the character code takes.FlagsGets what sets the glyph apart: invisible, hidden, an artifact, replaced by ActualText.FontGets the font the glyph was shown in; Helvetica's Standard 14 metrics when text was shown without a font.FontSizeGets the text font size T_fs set by Tf, in text space units; the size on the page also depends on the text matrix and the CTM (see Quad).IsVerticalGets a value indicating whether the font writes vertically.LanguageGets the natural language of the glyph's text: the Lang of StructureElement, else of its nearest ancestor that has one, else the document's; null when there is no structure element or no language is given.OriginGets the glyph's origin in page space: where text space's origin lands (§9.4.4); for vertical writing, its horizontal origin (§9.7.4.3).QuadGets the glyph's box in page space: from its origin to its horizontal displacement w0 along the baseline, and from the font's descent to its ascent across it, mapped by the text rendering matrix and the CTM.RenderingModeGets the text rendering mode the glyph was shown in.StructureElementGets the structure element whose content the glyph is, when the page was read in structure order (the element holding the marked-content sequence or object the glyph is shown in); null in content order and for artifacts that are not in the structure tree.TextLengthGets the number of UTF-16 units of the glyph's text: usually one, two for a surrogate pair, more for a ligature, 0 for a code mapped to no text or for a glyph whose text an ActualText replacement on the sequence's first glyph stands for.TextRenderingMatrixGets the text rendering matrix: from the glyph's text space, one unit per em with the font size, horizontal scaling and rise applied, to page space. Its x axis is the baseline's direction, its y axis points up the glyph; for vertical writing it places the glyph at its horizontal origin, as Origin does.TextStartGets the index of the glyph's first UTF-16 unit in the extracted text.UnicodeSourceGets which method of ISO 32000-2 §9.10.2 mapped the character code to Unicode; Unmapped when its text is U+FFFD.