Skip to main content
FontEmbeddingModeEnum enumeration constants are used to define whether fonts should be embedded in the PDF (PDF/A) file.
typedef enum {
 FEM_Embed,
 FEM_DontEmbed,
 FEM_Auto,
 FEM_EmbedFullWhenNeeded,
 FEM_EmbedSubsetWhenNeeded
} FontEmbeddingModeEnum;

Elements

NameDescription
FEM\_AutoSelect whether to embed fonts depending on the export format. Fonts are embedded in PDF/A files, and are not embedded in PDF files.
FEM\_DontEmbedDo not embed fonts into the output file.
FEM\_EmbedEmbed fonts into the output file.
FEM\_EmbedFullWhenNeededEmbed whole fonts into the output file if necessary.
FEM\_EmbedSubsetWhenNeededEmbed only the necessary subset of the fonts into the output file.

Remarks

To minimize the size of the output PDF/A files after export, use the combination of FEM_Auto or FEM_EmbedSubsetWhenNeeded and PEM_ImageOnText.

Used in

IPDFExportFeatures::FontEmbeddingMode