Skip to content

Releases: code-supply/mudbrick

v0.9.0

06 Mar 23:19
ca97f78
Compare
Choose a tag to compare

What's Changed

  • Start work on a parser. It mostly works for documents generated by Mudbrick. There's a long way to go before it can parse other documents!
  • Avoid writing empty TJs
  • A more helpful message when user forgot to choose a font
  • Fix write typespec to handle lists of strings by @sax in #7

New Contributors

  • @sax made their first contribution in #7

Full Changelog: v0.8.1...v0.9.0

v0.8.1

12 Dec 16:54
4521476
Compare
Choose a tag to compare

What's Changed

  • Fix underlining of unkerned text (line length was previously taken from kerned version of text)
  • Update README by @tjarratt in #4

New Contributors

Full Changelog: v0.8.0...v0.8.1

v0.8.0

11 Dec 17:46
17a3921
Compare
Choose a tag to compare
  • Centre-alignment
  • Can disable auto-kerning with auto_kern: false

Full Changelog: v0.7.0...v0.8.0

v0.7.0

17 Nov 15:13
c0d93f6
Compare
Choose a tag to compare
  • Breaking: auto-kerning based on font metrics. No option to disable this, yet.
  • Fix bug that occurred when underlining right-aligned text: if text followed the underline, the underline would be misaligned.

Full Changelog: v0.6.0...v0.7.0

v0.6.0

13 Nov 00:40
8d46d0f
Compare
Choose a tag to compare
  • Breaking: remove support for PDF built-in fonts. Must use OpenType fonts.
  • Breaking: font and image registration changed. Remove the :file option and simply pass the file data.
  • Underlining.
  • Fixes for leading.
  • Remove requirement to choose font when there's only one font registered.

Full Changelog: v0.5.0...v0.6.0

v0.5.0

06 Nov 17:46
56e28a1
Compare
Choose a tag to compare
  • Basic vector drawing with straight lines and rectangles
  • Fix right alignment when used with varying fonts on a single line
  • Aspect ratio preservation for images with e.g. {:auto, 123} or {123, :auto}.
  • Examples embedded in docs

Full Changelog: v0.4.0...v0.5.0

v0.4.0

30 Oct 16:36
2d3fd7b
Compare
Choose a tag to compare
  • Can set font size within a line
  • Respect newlines properly
  • Leading per line
  • Show result of primary example embedded in the docs

Full Changelog: v0.3.0...v0.4.0

v0.3.0

27 Oct 15:30
851ebaf
Compare
Choose a tag to compare

New text API that encapsulates blocks and fixes a bunch of nasty alignment bugs.

Full Changelog: v0.2.1...v0.3.0

v0.2.1

22 Oct 22:51
ab52a91
Compare
Choose a tag to compare

Fighting with hexdocs and a few test changes. No functional difference to v0.2.0.

Full Changelog: v0.2.0...v0.2.1

v0.2.0

22 Oct 22:09
855d6c9
Compare
Choose a tag to compare

Document metadata.

Full Changelog: v0.1.0...v0.2.0