Skip to content

pdf-font: unify best-effort fallback construction - #254

Merged
Velli20 merged 1 commit into
mainfrom
refactor-unify-best-effort-fallback-construction
Aug 6, 2026
Merged

pdf-font: unify best-effort fallback construction#254
Velli20 merged 1 commit into
mainfrom
refactor-unify-best-effort-fallback-construction

Conversation

@Velli20

@Velli20 Velli20 commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Route every missing or unreadable font through one infallible TrueType fallback builder. Preserve valid widths, encoding, and ToUnicode data while treating malformed optional metadata as absent.

Use the same fallback for Type0 font programs and ignore malformed CID mapping metadata so damaged resources remain renderable.

Route every missing or unreadable font through one infallible TrueType
fallback builder. Preserve valid widths, encoding, and ToUnicode data
while treating malformed optional metadata as absent.

Use the same fallback for Type0 font programs and ignore malformed CID
mapping metadata so damaged resources remain renderable.

Co-authored-by: Codex <codex@openai.com>
@Velli20
Velli20 merged commit 96bbc38 into main Aug 6, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants