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

Revive Document.subset_fonts #2900

Merged
merged 1 commit into from
Dec 16, 2023
Merged

Revive Document.subset_fonts #2900

merged 1 commit into from
Dec 16, 2023

Conversation

JorjMcKie
Copy link
Collaborator

We were assuring that the generated subset font is not empty by counting its Unicodes - which is not yet implemented in rebased. This fix checks the glyph count instead.

Revive Document.subset_fonts

We are assuring that the subset font is not empty by counting its Unicodes - which is not yet implemented.
This fix replaces this by checking the glyph count.
@JorjMcKie
Copy link
Collaborator Author

I don't know what has been going wrong. It definitely is not the changes made by this fix.

@julian-smith-artifex-com
Copy link
Collaborator

I don't know what has been going wrong. It definitely is not the changes made by this fix.

A commit to MuPDF master yesterday has broken 4 PyMuPDF tests.

@julian-smith-artifex-com
Copy link
Collaborator

Have checked this PR locally and tests pass if bad mupdf commit is reverted, so will approve now.

@JorjMcKie JorjMcKie merged commit 67ab8a1 into main Dec 16, 2023
1 of 2 checks passed
@JorjMcKie JorjMcKie deleted the fix-font-subsets branch December 16, 2023 14:35
@github-actions github-actions bot locked and limited conversation to collaborators Dec 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants