mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-03 12:35:48 -05:00
Tests in vectorcraft-text and vectorcraft-doc that could pass on an empty result, or that only checked a result exists, now assert the values: - Blend: gradient steps assert their stop count before checking each stop's swatch, tint and plates; the odd dash blended to solid asserts the whole pattern; a copied step asserts its members. - Symbols: limiting depth keeps every symbol; a stroke override on type keeps the run it styles. - File fonts: an extreme descent clamps to the lowest table value and the Windows descent still fits. - Invert wrap on a tangled shape asserts the line still meets it. - Bidi, ligature carets, Thai and whitespace fallback: the glyph and line counts are asserted, Hebrew points stay in their letters' clusters, and every character of an isolate test has a glyph. - Glyph categories, trace views, compound shape modes and digit systems check written-out ids instead of a round trip over every value. Removed joins_on_a_circle_are_measured, which printed measurements and asserted nothing, and chord_placement_leaves_the_join_gap_above_the_baseline, which checked arithmetic done in the test itself; joined_glyphs_meet_on_a_curved_path covers joined type on a curve.