Skip to content

v0.2.1

Choose a tag to compare

@rggdmonk rggdmonk released this 22 Jun 17:27
138379f

tenderness v0.2.1

Bug Fixes

  • Bounding boxes: Fixed incorrect byte_index reconstruction for \r\n pairs in character bounding box extraction. Pango reports the same byte_index for both characters in a \r\n sequence, which previously caused incorrect byte offsets for \n. Added stall detection (prev_byte_index tracking) to correctly offset \n to its real byte position.

Testing & Docs

  • Extended test coverage across all extraction levels for \r, U+2028 (line separator), U+2029 (paragraph separator), \t, and RTL line-break combinations.
  • Updated documentation to describe per-level line-break behavior, including the U+2028 exception.

Full Changelog: v0.2.0...v0.2.1