# FontCreateFlags Enum

> Flags for creating fonts.

- Product: Adobe PDF Library 21
- Language: Modern C++
- Version: 21.4.0
- HTML page: https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/enum/FontCreateFlags
- Version index: https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/llms.txt

**Namespace:** `datalogics_interface`

## Description

Flags for creating fonts.

## Values

- `Embedded = 0x0001`: Embed the font. By itself, this does not subset the font.
- `Subset = 0x0002`: Subset the font. Combine with Embedded; call Document::embed_fonts() to apply. Both flags together produce a CFF font.
- `DoNotEmbed = 0x0004`: Do not embed the font. Cannot be combined with Embedded or Subset.
- `EncodeByGID = 0x0008`: Create a CIDFont with identity (GID) encoding.
- `DeferWidths = 0x0010`: Defer width-table population (Type0 fonts only).
- `GIDOverride = 0x0020`: Convert character code to GID with identity embedded.
- `ToUnicode = 0x0040`: Create a ToUnicode CMap.
- `AllWidths = 0x0080`: Supply the entire widths table (Type0 fonts only).
- `EmbedOpenType = 0x0100`: Embed an OpenType-style font subset, when applicable.
