Repository navigation
VietSVG v0.1.0
VietSVG v0.1.0 — first public release
Vietnamese-safe finishing toolkit for AI-generated SVGs, packaged from the tool used daily since 2026-12-04 for Unlimited-SVG conversions.
- Tight
viewBoxauto-crop from the true content bounding box (paths, shapes, text, transforms; full-canvas backgrounds ignored) — matched a hand crop within 1 unit in verification runs. - Vietnamese diacritic risk scan with five tiers (
definite,stacked,ocr,digits,review), calibrated on a full-diacritics test where stacked diacritics broke in nearly every instance. - Confirmed-fix application from a JSON mapping — VietSVG never guesses text.
- Optional Grok proofreader (BYOK via
XAI_API_KEY) that writes suggestions for human confirmation. - Optional PNG render proof via the
renderextra (cairosvg). - Agent Skill (
skills/vietsvg-check) so coding agents can run the finishing workflow themselves. - Static web demo in
docs/: drop an SVG, see the crop + risk report in the browser, download the finished file.
Install: pip install vietsvg · Try it: vietsvg check examples/broken-vietnamese.svg