Skip to content

Hortulus 0.1.1

Choose a tag to compare

@Richard7987 Richard7987 released this 09 Nov 01:26
8a5348b

Smaller PDFs and fewer repeated pages. The drawing looks the same.

  • The plugin writes coordinates to a tenth of a point, and dots under 1 bp of radius as squares or octagons of the same area, within 0.03 mm of the circle. PDFs come out about 45% smaller, and Typst embeds each page several times faster.
  • The plugin call goes through a Typst function, which Typst caches: a page whose spec has not changed is not grown again after an edit elsewhere in the document.
  • The reference encoding is unchanged, and tools/run_matrix.sh still matches tikz-flora byte for byte (72 of 72 cases).

The update to Typst Universe is in review: typst/packages#6345. Until it is merged, @preview/hortulus:0.1.1 will not resolve; keep using 0.1.0, or copy package/ next to your document and import lib.typ.