Skip to content

TinyOFD v0.0.3 — Windows x64 portable

Choose a tag to compare

@miemiekurisu miemiekurisu released this 16 Sep 12:14
· 9 commits to main since this release

TinyOFD v0.0.3 (Windows x64 portable)

Fixed

  • OFD XML: dangling SAX handler on parse failure, attribute leak on depth-limit, stale CGU cache when reopening documents
  • Layer vs non-Layer object parsing drift: PathObject clips, TextObject ReadDirection/CharDirection/LetterSpacing, GroupObject boundary/CTM and Region/VectorShape/PageBlock children
  • Bookmark (outline) parsing leaked the whole outline on malformed XML
  • Text search: UB zero-init of a managed record, O(n^2) page text concat
  • TTF parser hardened against malformed fonts: table-directory/loca/glyph-header out-of-bounds reads, 1-byte overruns in coordinate reads, Integer overflow bypasses, cmap format4 idRangeOffset mis-resolution (glyph lookup was wrong for idRangeOffset != 0)
  • Tab strip: stale hover index after tab removal

Changed

  • Compound-glyph expansion is now budgeted (fixes tiny-font DoS that expanded to millions of points)
  • Delta-value parsing: capped at 65536 with geometric growth (was unbounded O(n^2))
  • App version single-sourced in ofd_version.pas; About box shows real version

Quality

  • 1005 automated tests passing (incl. seeded TTF fuzz and parse-divergence regressions), heaptrc: 0 unfreed blocks
  • Visual regression (gemma4:12B vision QA): 999.ofd / invoice pages pass

Notes

  • Windows x64 portable zip: extract and run. Non-commercial license (PolyForm Noncommercial 1.0.0).