1.18.0 — Text geometry and PDF loading fixes
Improved text geometry, superscript/subscript handling, and PDF loading. Changes since 1.17.0, released from #509.
Included PRs
- #452: Faster cross-platform CI.
- #453: Faster release publishing.
- #478: Bounded object-stream decompression.
- #488: Superscript/subscript handling and baseline metadata.
- #489: Password-aware Python fixture tests.
- #490: Python binding tests in CI.
- #487: Positions and regions relative to the visible page box.
- #486: Rotated-text bounds and rotation metadata.
- #507: Embedded bold-font metadata recovery.
- #508: Repair classic cross-reference tables with short entries.
Migration
- Positioned items and region APIs now use the visible page box. Remove any manual CropBox-origin adjustment; positioned items use a lower-left origin, while region inputs use a top-left origin.
- Rust
TextItemliterals must addbaseline_shift,rotation, andadvance_known(0.0,0.0, andtruefor ordinary upright text).