typograph-editor-documentation
    Preparing search index...

    Release Notes - Version 1.0.0-20260826

    • Stroke alignment. A stroke can now sit centred on the edge it outlines, inside it, or outside it, chosen from the three icons in the toolbar's line palette. This is what InDesign does, and the difference is not subtle on a heavy stroke: a 20 pt outline on 80 pt letters eats 10 pt inward when it is centred, thinning the letterforms, where outside leaves them intact. Absent means centred, so nothing already in a document changes.
      • Shapes take all three alignments: rectangles, rounded rectangles, circles, triangles, image frames and a text frame's own border.
      • Text takes centre and outside only. InDesign has no inside-aligned text stroke, so the inside button is greyed out while the cursor is in a text frame.
      • A polygon or a drawn path takes an alignment when its outline is closed, and keeps drawing centred when it is open — an open outline has no inside for the other two settings to mean. A line is never closed, so a line always draws centred.
      • With text selected the control applies to the selection; with only a cursor in the frame it applies to that frame's text.
      • A newly created text frame starts with an outward stroke rather than a centred one. Most text carries no stroke at all, and when it does, outward is the setting that keeps the letterforms readable. Text already in a document is untouched — it keeps drawing centred until someone says otherwise.
    • A stroke colour swatch in the line palette. The stroke's colour had to be set from the toolbar's main swatch, which shows the fill unless you know to flip it. The palette now carries its own chip, next to the weight, and it picks the colour of whatever the rest of that palette is pointed at — the text's stroke while you are editing text, the element's otherwise.
    • The PDF prints the alignment too, so a proof matches the screen. An outward text stroke is laid down at twice the width and the letter is then filled back over its inner half, which is exactly what the editor draws; shapes are clipped to the half that should show. Alignment is honoured on the same shapes as on screen, including a closed polygon or drawn path.
    • A document converted from InDesign now arrives with the alignment it was designed with. Text takes the document's own default — InDesign writes "outside" whether or not anyone chose it, and it is the right default for text anyway — and any paragraph style, character style or individual run that sets its own overrides it. Shapes take theirs from the object itself; one that says nothing stays centred, as it always did.
    • Fixed: a text frame's own border never printed. Every other kind of element drew its border in the PDF and a text frame drew none, whatever colour and weight the document gave it — a missing hairline being easier to miss than a missing background, this had gone unnoticed since the frame fill was fixed. It prints now, under the text, as the editor draws it.
    • Fixed: a rounded rectangle drawn with square corners could show a small notch at the top-left, where the outline starts and finishes. It was covered by a patch measured against the stroke weight, which stopped covering it once a stroke could be drawn inside or outside the edge.
    • Page elements carry stroke_alignment (center | outside | inside) and text properties carry the same field with center and outside only. Both are on the wire and modelled in document-schema, which validates text against the shorter list. Absent reads as center everywhere, so an older document is unchanged and an older reader ignores what it does not know.
    • get_selection_font_properties() reports stroke_alignment across a text selection, null when the selection is mixed — the same convention it already uses for the other stroke properties.
    • A rich text frame carries text_stroke_alignment, the default its own text uses when a run does not override it — the same shape as text_stroke_dash and native_text_stroke_size. The InDesign converter writes the document's <TextDefault> into it, and a newly created frame starts at outside. A document written before the field loads as center, so nothing already authored changes.
    • Alignment is understood end to end: document-schema models it, the InDesign converter fills it, the editor and viewer draw it, and the PDF generator prints it. A line never takes one — an open outline has no inside — and neither does a polygon or path whose outline is not closed.