> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# FontEmbeddingModeEnum

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

| Name                         | Description                                                                                                                         |
| ---------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| FEM\\\_Auto                  | Select whether to embed fonts depending on the export format. Fonts are embedded in PDF/A files, and are not embedded in PDF files. |
| FEM\\\_DontEmbed             | Do not embed fonts into the output file.                                                                                            |
| FEM\\\_Embed                 | Embed fonts into the output file.                                                                                                   |
| FEM\\\_EmbedFullWhenNeeded   | Embed whole fonts into the output file if necessary.                                                                                |
| FEM\\\_EmbedSubsetWhenNeeded | Embed 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](/fine-reader/engine/api-reference/enumerations/pdfexportmodeenum#imageontext).

## Used in

[IPDFExportFeatures::FontEmbeddingMode](/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportfeatures#fontembeddingmode)
