Skip to content

VietSVG v0.2.1

Choose a tag to compare

@Konoha95 Konoha95 released this 06 Dec 06:45
· 3 commits to main since this release

VietSVG v0.2.1 — NFD correctness fix

  • Fixed silent mis-reporting of Vietnamese text in NFD (decomposed) form: the scanner now normalizes before tier checks, so stacked diacritics and definite errors (ë, ǎ) are flagged identically in NFC and NFD. Previously NFD text fell through to the mildest "review" tier.
  • finish --fix now matches fixes across normalization forms: an NFC fix mapping applies correctly to an NFD file. A fix that matches nothing now prints a clear warning and exits non-zero instead of silently succeeding.
  • Crop width estimation no longer under-measures NFD text (wide titles were clipped).
  • __version__ corrected to match the release (it was stuck at 0.1.0 in the 0.2.0 package).
  • Test suite grows 15 → 21 tests, including NFD round-trip cases.

Install: pip install -U vietsvg · Try it: vietsvg check examples/broken-vietnamese.svg