Replacing text - font is not correct outputted? #3831
Replies: 4 comments 2 replies
-
(Py-) MuPDF never accesses the fonts installed on the machine. You always must supply the fonts as font files or equivalently in memory (as font buffer). |
Beta Was this translation helpful? Give feedback.
-
Hello - thx a lot for your explanation - This is the code im currently using:
|
Beta Was this translation helpful? Give feedback.
-
Thx again - i tried the change but get this error:
|
Beta Was this translation helpful? Give feedback.
-
Thanks this is now working as expected. |
Beta Was this translation helpful? Give feedback.
-
Hello - i try to change the text in the attached pdf-file test.pdf using the following code -
It works generally fine but teh font is not correct on page 2 - see the attached second pdf (ist_trans.pdf)
The font which is used in the test.pdf template (=Arimo-Bold) is installed on my windows-computer.
So why is this still not working?
ist_trans.pdf
test.pdf
Beta Was this translation helpful? Give feedback.
All reactions