# LibraryFlags Enum

> Flags for initializing the library.

- Product: Adobe PDF Library 21
- Language: Java
- Version: APDFL21.0.0PlusP1f
- HTML page: https://docs.datalogics.com/apdfl21/Java/APDFL21.0.0PlusP1f/enum/LibraryFlags
- Version index: https://docs.datalogics.com/apdfl21/Java/APDFL21.0.0PlusP1f/llms.txt

**Namespace:** `com::datalogics::PDFL`

## Description

Flags for initializing the library. Unless you require fine-grain control of the intialization process of the library there is no need to use LibraryFlags or you can specify the value of NoFlags.

## Values

- `CHECK_SUB_FONTS`: Check for substitution fonts at toolkit initialization. If they are not found, return an error.
- `DISABLE_MEMORY_SUBALLOCATOR`: Disable suballocation of memory.
- `IGNORE_CURRENT_DIRECTORY`: Ignore the current working directory only when searching for fonts
- `IGNORE_DEFAULT_DIRECTORIES`: Search for fonts ignore compiled in default directories
- `INIT_FORMS_EXTENSION`: Loads the Forms Extension dependencies, otherwise they are not loaded.
- `INIT_PDFEDIT`: Initialize PDFEdit if this is true.
- `NO_FLAGS`: No flag is specified.
- `PREFER_LOCAL_FONTS`: Prefer fonts loaded from directories other than those controlled by the operating system
