add_freetext_annot: Use CJK fontname/ Different fontname within one annot #1109
-
Hello, Thanks for this amazing library!
It seems that running with ‘insertText’ can display the font normally but I need to generate an annotation in pdf that can be modified/moved with adobe software.
https://github.com/pymupdf/PyMuPDF/issues/549 I'm wondering if I have missed anything? My configration
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
If you insert "permament" text, there is a lot of freedom with respect to which font etc. to use. |
Beta Was this translation helpful? Give feedback.
-
This is about the maximum you can do with freetext annotations: |
Beta Was this translation helpful? Give feedback.
If you insert "permament" text, there is a lot of freedom with respect to which font etc. to use.
But if you want to be able to later move around the text and thus use FreeText annotations, then (Py-) MuPDF restricts you to (1) the Base-14 fonts Helvetica, Times-Roman and Courier, plus (2) to only one of these within the same annotation.
Whether you will then be able to do this moving with Adobe, PDF-XChange or other viewers, and / or then switch back to PyMuPDF is a different story: this will either not be possible, or force you back to the Base-14 fonts.