v0.5.0
Universal vector image import — SVG + Android VectorDrawable → native PDF vector paths.
New DSL: vector(bytes, width, height, fit) (auto-detects SVG vs VectorDrawable).
- Full SVG/VD path grammar (M L H V C S Q T A Z, abs+rel); quadratics & elliptical arcs → cubic beziers
- Basic shapes (rect/circle/ellipse/line/polyline/polygon),
<group>/transform, inherited paint - nonzero & even-odd fill, stroke, per-element opacity;
currentColor+ full CSS named-color set - Colors: #AARRGGBB (VectorDrawable) and #RRGGBB[AA]/rgb()/named (SVG)
- Emitted as a reusable Form XObject (a logo repeated in a header costs one object)
- Pure-Kotlin, dependency-free (no XML library); deterministic output
- Hardened against malformed input (no parser hangs); verified via PDFBox rasterization
Deferred: gradients, patterns, , clipPath, filters, CSS classes.