Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(pdf2zh): Support inserting fonts into indirectly referenced font resources #565

Merged
merged 4 commits into from
Feb 3, 2025

Conversation

awwaawwa
Copy link
Collaborator

@awwaawwa awwaawwa commented Feb 3, 2025

  • introduce re module for regex operations
  • extract and process font resource xref using regex
  • handle null font entries by setting appropriate keys

… resources

- introduce re module for regex operations
- extract and process font resource xref using regex
- handle null font entries by setting appropriate keys
- consolidate target key prefix assignment
- simplify and streamline font existence check and setting logic
@Byaidu Byaidu merged commit 8bbc7ad into Byaidu:main Feb 3, 2025
2 checks passed
@awwaawwa awwaawwa deleted the font_add_fix branch February 3, 2025 16:56
karon9 pushed a commit to karon9/PDFMathTranslate that referenced this pull request Feb 5, 2025
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