Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

---

## [0.8.1] - 2026-05-21

### Fixed
- **CID TrueType text extraction** — `ExtractTextFromPage()` now correctly decodes CID TrueType fonts with Identity-H encoding and ToUnicode CMap (#74, @iv7dev)
- Implemented `beginbfrange` array format parsing (previously silently skipped, producing empty CMap)
- Fixed `use2ByteGlyphs` detection for Identity-H encoding in all `loadFontDecoder` fallback paths
- Added `begincodespacerange` parsing to determine byte width from the PDF spec-defined signal
- Added UTF-16BE surrogate pair decoding in CMap destinations (for supplementary Unicode planes)
- Prevented `looksLikeGarbage` heuristic from downgrading composite (Type0) fonts to 1-byte mode

---

## [0.8.0] - 2026-05-07 "Extraction & Access"

### Added
Expand Down
7 changes: 7 additions & 0 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,13 @@ Page sizes, custom dimensions, landscape orientation, and text rotation:

## Current Development

### v0.8.1

**Released**: May 2026

- **CID TrueType text extraction fix** (#74, @iv7dev) — `ExtractTextFromPage()` now correctly decodes CID TrueType fonts with Identity-H encoding (wkhtmltopdf, TCPDF, CJK generators)
- Fixed: `beginbfrange` array format, `begincodespacerange` parsing, UTF-16BE surrogate pairs, composite font 2-byte detection

### v0.8.0 "Extraction & Access"

**Released**: May 2026
Expand Down
Loading
Loading