set_doc_option.md

October 1, 2015 ยท View on GitHub

set_doc_option

fpdf.set_doc_option(opt: str, value)

[TOC]

Description

Defines the document option.

Parameters

opt:

Option to set.

value:

Value.

Options

core_fonts_encoding

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.

See also

set_font, write.

Contents

  1. 1set_doc_option
  2. 1.1Description
  3. 1.2Parameters
  4. 1.3Options
  5. 1.4See also