v0.1.6
Repair release. Every fix here came out of using nakkas the way an AI actually uses it.
Fixed
- Background ignored the viewBox origin. With a centered viewBox like
-100 -100 200 200the background covered only one quadrant. It now anchors to the viewBox rect. - Generic font families rendered with the wrong font.
monospace,sans-serif, andseriffell back to an arbitrary system font inpreviewand PNGsavebecause resvg's family mapping options are non-functional. Generic keywords are now resolved to real fonts before rasterization, using fontconfig's own mapping on Linux and platform defaults on macOS and Windows. The preview finally matches what a browser shows. - Validation errors were blind.
elements.1: Invalid inputbecameelements.1.content: Required, with a field cheat sheet for the failing element type appended to the error. - Docker text rendered as blank glyphs. The image now installs fontconfig and DejaVu fonts.
Improved
render_svgtool description documents the field names that differ from raw SVG: text usescontent, textPath usespathIdplustext, groups usechildren, pattern groups take a singlechild.- README rewritten around the preview loop, with honest font guidance and an AI-readable summary. llms.txt and llms-full.txt synced.
- server.json version tracking fixed; the MCP Registry entry had gone stale at 0.1.4.
296 tests passing.