Skip to content

Releases: paperchase-labs/tenderness

v0.3.0

Choose a tag to compare

@rggdmonk rggdmonk released this 04 Aug 20:14
828b4af

tenderness v0.3.0

Release Notes

Released on 2026-08-04

Added

  • [docs] Add install validation and macOS troubleshooting sections.
  • [document_pipeline] Allow DocumentConfig.block_spec to accept a list[BlockPosition] of pre-computed positions, bypassing the flexbox engine.
  • [tests] Add test coverage for DocumentSetupHelpers.resolve_block_positions across the unset, MinimalFlexNode, and list[BlockPosition] code paths.

Changed

  • [deps] Remove the PyGObject < 3.52.0 pin.
  • [pango_backend] Fix compatibility with PyGObject 3.56+.

Full Changelog: v0.2.1...v0.3.0

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

v0.2.0

Choose a tag to compare

@rggdmonk rggdmonk released this 11 Jun 16:50
5498df9

What's new in v0.2.0

Document pipeline

Features

  • to_dict() methods on TextBoundingBoxes, CharBBox, ClusterBBox, and related bounding box classes
  • Expanded flexbox layout templates (documents, tables, flow)
  • Resolution handling for font maps in FontSetup and LayoutContextInterface
  • Refactored drawing utilities

Other

  • Updated project metadata and classifiers
  • Added tox configuration
  • Updated docstings

Full Changelog: v0.1.0...v0.2.0