Questions about the two methods of insert_textbox or insert_text #1633
Unanswered
zidong-onepiece1
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Except for the flag indicating a superscript, the other flags express properties of the font in use for the span, like bold, or mono. Note that "using that font again" may not be as simple as it sounds, because you may need to find its xref first, then extract it and insert it again in the target page. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I use
get_text('json')
to parse out the content of the pdf, I get the flags of the text at the span level.But when I use the
insert_text
orinsert_textbox
method to insert the text into the new pdf, the flags parameter or similar parameters are not found, so how can I reproduce the original attributes of the text (such as italics, bold, etc.)Beta Was this translation helpful? Give feedback.
All reactions