fpdf.set_doc_option(opt: str, value)
[TOC]
Defines the document option.
opt:
Option to set.
value:
Value.
Specify encoding used for decoding unicode text for standard (non-unicode)
fonts. Supported values are latin-1
and windows-1252
. Set this option
before using any text writing.