Enum text

FontCreateFlags

Namespace: datalogics_interface

Description

Flags for creating fonts.

Values

Embedded

Embed the font. By itself, this does not subset the font.

Subset

Subset the font. Combine with Embedded; call Document::embed_fonts() to apply. Both flags together produce a CFF font.

DoNotEmbed

Do not embed the font. Cannot be combined with Embedded or Subset.

EncodeByGID

Create a CIDFont with identity (GID) encoding.

DeferWidths

Defer width-table population (Type0 fonts only).

GIDOverride

Convert character code to GID with identity embedded.

ToUnicode

Create a ToUnicode CMap.

AllWidths

Supply the entire widths table (Type0 fonts only).

EmbedOpenType

Embed an OpenType-style font subset, when applicable.