v1.25.2

Osmantic/ODSv1.25.2Sep 28, 2026by abimaelmartell

Upgrading?

AI Summary

This release refines text extraction logic for superscripts and subscripts, ensuring proper sizing based on character counts. It also optimizes the ToUnicode repair process by skipping checks when the font's CMap is already correct.

Key Highlights

  • Improved sizing logic for super/subscripts to keep minus signs with digits.
  • Skips ToUnicode repairs where the font's CMap is already correct.
  • Fixes subset fonts with specific CMap issues regarding CIDToGIDMap.

New Features

  • Improved sizing logic for super/subscripts
  • Skips ToUnicode repairs if the font's CMap is already correct
  • Fixes subset fonts with specific CMap issues

Full Release Notes

Changes since 1.25.1:

- Size a super- or subscript run by its letters and digits: an exponent whose minus sign a symbol font sets a design size above its digits (as TeX does) keeps its `<sup>` markup; a run of signs alone, or with signs more than a quarter larger than its letters and digits, is still sized by its largest glyph (#603).
- Skip a subset font's ToUnicode repairs where the font itself shows the CMap is right: the repair through a `/CIDToGIDMap` for a CMap keyed by code, and the renumbering of a subset that kept its glyph indexes (#605).

No API changes.

Release preparation: #606.

[Full changelog](https://github.com/firecrawl/pdf-inspector/compare/v1.25.1...v1.25.2)

Related Repositories