Is it possible to turn off ligatures preservation when I call get_svg_image? #3795
Unanswered
fallingleaflun
asked this question in
Q&A
Replies: 2 comments
-
"separate" is spelled incorrectly. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sorry, there is no way to do this. The ligatures flags only pertains to text extraction. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description of the bug
I call the
page.get_svg_image()
to obtain a svg and I find that some "st" and "ff" are recognized as one element in the<use data-text="">
. I spot that theres is a Text Extraction Flag called "TEXT_PRESERVE_LIGATURES" in the parameters ofget_textpage
. Is it possible to turn of the ligatures preservation when I callpage.get_svg_image()
?How to reproduce the bug
Due to privacy problem, I cannot offer the pdf, sorry.
PyMuPDF version
1.24.9
Operating system
MacOS
Python version
3.9
Beta Was this translation helpful? Give feedback.
All reactions