Skip to content

Emboss v1.3.1

Latest

Choose a tag to compare

@vouchagent vouchagent released this 09 Aug 07:41
· 2 commits to main since this release

Fixed

  • SVG <text>/<tspan> could render invisibly. Embedded fonts (Source Sans/Serif/Code) were resolved through a process-wide cache that never marked glyphs as used, so subsetting embedded just a space and blanked every other glyph's outline. This broke real diagram output -- architecture-diagram service/group labels and sequence-diagram participant labels came out as blank boxes. Fixed by resolving SVG fonts through the document's own FontRegistry, which also fixes a latent determinism bug where glyph usage could leak between unrelated documents rendered in the same process.
  • \left(...\right) corrupted anything nested inside it. The delimiter parser stopped at the first backslash looking for \right, so any nested command (\frac, \sqrt, a Greek letter) inside a \left...\right group truncated it early and corrupted the rest of the expression -- \left(1 + \frac{1}{x}\right)^x, an extremely common LaTeX pattern, rendered as garbled text.
  • Fixed 8 open Dependabot alerts in docs/ (nanoid, brace-expansion, dompurify, mermaid).

See CHANGELOG.md for full details.