Skip to content

fix(pdf): classify unsafe text states - #123

Merged
McanKul merged 1 commit into
developmentfrom
fix/33-text-state
Oct 4, 2026
Merged

McanKul merged 1 commit into
developmentfrom
fix/33-text-state

Conversation

@McanKul

@McanKul McanKul commented Oct 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • track text rise and report non-default rise as TEXT_RISE while returning shifted bounds
  • track rendering mode and report non-default modes as TEXT_RENDER_MODE
  • apply text clipping modes only after ET so later occurrences cannot be falsely classified as supported
  • reject malformed Ts and Tr operands with a recoverable content error
  • keep this read-only: no UI, mutation, save path, release, or main-branch changes

Verification

  • cargo test --lib source_content — 68 passed
  • cargo test --lib — 325 passed
  • cargo clippy --lib --tests — no new warnings attributable to this change

Refs #33

@McanKul
McanKul merged commit 1c9dc6f into development Oct 4, 2026
2 checks passed
@McanKul
McanKul deleted the fix/33-text-state branch October 4, 2026 20:41
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