use customed fontfile for insertTextbox/insertText? #1669
Unanswered
retsyo
asked this question in
Looking for help
Replies: 1 comment
-
The recommended way using font with page.insert_font(..., fontname="xyz", fontfile="...") # or fontbuffer=
...
page.insert_text(pos,text,fontname="xyz") The fontname ("reference name") must be unique and not equal to any of the Base-14 names. |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
in the following code, a chinese ttf font file is used. however only
TextWriter
treats it correctly,insertTextbox/insertText
fails.Any solution? Thanks
BTW, I have read #329
Beta Was this translation helpful? Give feedback.
All reactions