How can i get text property "fill" from pdf #2505
Replies: 7 comments 7 replies
-
A typical "Discussions" post. Let me transfer first. |
Beta Was this translation helpful? Give feedback.
-
Hard to tell based on this little information. Please provide the example file. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
上海石化2021年年度报告.pdf |
Beta Was this translation helpful? Give feedback.
-
And i have another confusion,does this method "page.get_texttrace" always return font-size 0 when the character is rotated 90 or -90 degrees? |
Beta Was this translation helpful? Give feedback.
-
No, it should return the correct font size. However, fonts may contain errors. And the code behind |
Beta Was this translation helpful? Give feedback.
-
https://pymupdf.readthedocs.io/en/latest/functions.html#Page.get_texttrace |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
I found some red characters with color property (0, 0, 0).
Do these characters have any additional attributes, such as “fill”?
thanks!
Describe the solution you'd like
Describe alternatives you've considered
Additional context
Beta Was this translation helpful? Give feedback.
All reactions