Atrium — shared contracts and the typesetting engine
    Preparing search index...

    Interface GlyphRun

    A run of glyphs placed on a page. This is what PDF emission writes.

    interface GlyphRun {
        font: FontHandle;
        glyphs: PositionedGlyph[];
        kind: "glyphrun";
        size: number;
        text: string;
        width: number;
        x: number;
        y: number;
    }
    Index
    glyphs: PositionedGlyph[]
    kind: "glyphrun"
    size: number

    Type size in points.

    text: string

    The source characters, for /ToUnicode and for golden dumps.

    width: number

    Sum of the glyph advances — where the next run would start.

    x: number

    Left edge of the run.

    y: number

    The run's baseline, not its top.