Unicode fonts (add_font) with Templates? #1239
Answered
by
gmischler
professorlance
asked this question in
Q&A
-
Hello all, |
Beta Was this translation helpful? Give feedback.
Answered by
gmischler
Aug 13, 2024
Replies: 1 comment 1 reply
-
Welcome to fpdf2, @professorlance ! The templates are entirely agnostic of font types. They will use whatever fonts have been added to the document beforehand. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
professorlance
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Welcome to fpdf2, @professorlance !
The templates are entirely agnostic of font types. They will use whatever fonts have been added to the document beforehand.
As you will find confirmed in the documentation, the template instances themselves don't have an
add_font()
method. If you tried that, then an attribute error is inevitable.