Skip to content

v0.10.0

Choose a tag to compare

@kenshaw kenshaw released this 17 Nov 06:15
· 13 commits to main since this release

This release makes public the packages that ivy reads and lays out documents with. The renderer draws the same output as v0.9.0.

go get github.com/xo/okage@v0.10.0

The new public packages

  • roxmltree parses XML into a tree that a program reads. It is a port of the Rust crate roxmltree 0.21.1 (D47).
  • kurbo gives the 2D curves and shapes of a subset of the Rust crate kurbo 0.13.1 (D48).
  • html now also parses HTML documents, as a port of tinyhtml5 (D49). It still lays out the HTML-like labels of Graphviz.
  • tinycss2 parses CSS, and cssselect2 matches CSS selectors against a tree. Both are ports of the Python packages of the same names (D50).
  • webfont converts a font in WOFF, WOFF2 or EOT into an sfnt file (D51).
  • typesetting is a copy of github.com/go-text/typesetting v0.3.5, so that the maintainers can fix it in okage (D52). svg uses the copy, and go.mod no longer requires go-text. No exported type of okage was a type of go-text, so a program that uses go-text for its own fonts keeps working.