Centering on free_text() #1722
Replies: 2 comments 8 replies
-
That is an interesting question. In general, I think pypdf should (directly) support core-pdf features. And only those. That means if you can find it in the PDF specification, pypdf should support it. If it's not in there, pypdf should not support it. The one exception is text extraction. I have seen I guess you are talking about the FreeText annotation? Hence the following should center your annotation text: free_text_annotation[NameObject("/Q")] = NumberObject(1) Feel free to add a PR to add this in |
Beta Was this translation helpful? Give feedback.
-
@MartinThoma / @delta2echo |
Beta Was this translation helpful? Give feedback.
-
I apologize if this can already be done, but there does not seem to be a way to center justify text when creating annotations.
It's possible to format the text in other ways, but no way to justify the text.
Is this a feature that's planned for the future?
Beta Was this translation helpful? Give feedback.
All reactions