Additional fonts support in rendering PDF as ppm #1319
Unanswered
krishnanunnik
asked this question in
Looking for help
Replies: 1 comment 4 replies
-
Sounds a it weird - please let me have a small example PDF. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using the PyMuPDF(1.18.19) for converting the PDF pages to images. My code for the same is below.
This code works fine for most of the PDF documents. But for certain PDFs which contains fonts like Noto Sans, Calibri and few other fonts, the image is not generated properly. Looks like below
I understand this problem as a issue with Fonts support. There was a reference to install the
pymupdf-fonts
package to solve this. But that also did not work for this case.Is there any way, I can add the font support to the library using the ttf files ? Any clues will be helpful!
Other information:
Thanks in Advance
Beta Was this translation helpful? Give feedback.
All reactions