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

    Interface TextFace

    A run of text set in one resolved face at one size.

    Distinct from doc/model.ts's TextStyle, which is the semantic style a document carries — a FontSelection (family/weight/slant) plus underline, and deliberately no size. Resolving one into the other is the layout stage's job: it picks the point size from the block's role and asks the FontProvider for the handle. Two names because they are two things.

    interface TextFace {
        font: FontHandle;
        size: number;
    }
    Index
    size: number

    Type size in points.