Skip to content

Font warnings + OTTO magic + text_width consistency - #12

Merged
ronaldtse merged 1 commit into
mainfrom
fix/font-warnings-otto-texwidth
Aug 4, 2026
Merged

Font warnings + OTTO magic + text_width consistency#12
ronaldtse merged 1 commit into
mainfrom
fix/font-warnings-otto-texwidth

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Summary

Font embedding warnings, OTTO magic detection, file path loading, text_width consistency.

Test plan

  • Font invalid data warning logged
  • OTTO magic → Subtype :TrueType
  • text_width resolves font names

- Log warning via Pdfrb.logger when invalid font data is passed
- OTTO and TTF magic detected → Subtype :TrueType
- File path loading via File.file? check
- text_width resolves font names to resource keys for metrics lookup
@ronaldtse
ronaldtse merged commit 6059783 into main Aug 4, 2026
0 of 5 checks passed
@ronaldtse
ronaldtse deleted the fix/font-warnings-otto-texwidth branch August 4, 2026 01:27
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.

1 participant