Skip to content
Discussion options

You must be logged in to vote

This method is based on an external package, fontTools, which is not error-free.
So we are not in the position to track down the problem.
In addition we are phasing out this method - another reason why we do not pursue errors here.

We are in the process to publish our own font sub-setter, which is directly implemented in MuPDF. It is very much faster (about 15 times) and covers a larger range of fonts.
It is available as a function in fitz.mupdf, but is yet experimental and has no elegant wrapping in PyMuPDF's API yet. It will not report anything back, i.e. there is no "verbose" option or similar.
Here is how you can use it today. I tried your example and obviously MuPDF's font sub-setter…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@izerui
Comment options

@izerui
Comment options

@JorjMcKie
Comment options

Answer selected by izerui
Comment options

You must be logged in to vote
2 replies
@JorjMcKie
Comment options

@izerui
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants