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

    Interface ShapedText

    The result of laying a string out in one font at one size. All in points.

    interface ShapedText {
        depth: number;
        glyphs: PositionedGlyph[];
        height: number;
        width: number;
    }
    Index
    depth: number

    Extent below the baseline, positive downwards (TeX's "depth").

    glyphs: PositionedGlyph[]
    height: number

    Extent above the baseline.

    width: number

    Sum of the advances.