Enum text

FontCreateFlags

Namespace: Datalogics::PDFL

Description

Flags for creating fonts. If you want to subset a font, set both the Embedded and Subset flags

Values

Embedded = 1

Embed the font. Create an embedded font. By itself, this will not subset the font.

Subset = 2

Subset the font. If you want to subset a font, set both the Embedded and Subset flags. You must call Document.EmbedFonts() to actually subset the font. Both embedding and subsetting a font creates a CFF font.

DoNotEmbed = 4

Do not embed the font. You cannot set both this and the Subset flags. Nor can you set Embedded.

EncodeByGID = 8

Create a CIDFont with identity (GID) encoding.

DeferWidths = 16

Wait to get the widths until later (this affects Type0 fonts only).

GIDOverride = 32

Convert cp to gid with identity embedded.

ToUnicode = 64

Create a ToUnicode CMap.

AllWidths = 128

Supply the entire widths table (this affects Type0 fonts only).

EmbedOpenType = 256

Embed an OpenType style font subset, if appropriate.