# Configuring PDF options

{% hint style="info" %}
**Required dataset permission:** Edit dataset settings
{% endhint %}

The **PDF Settings** section of the **Dataset settings** page provides options to configure how to work with PDF files.

<figure><img src="https://3072847115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvOPn7KQptPWmS5iKg5P0%2Fuploads%2FyFZS10dJCvpk91nJt9Ku%2FDatasetSettingsPDFSettings.png?alt=media&#x26;token=cc1eaa9d-cdd1-4970-8b76-7c65e0068f75" alt=""><figcaption><p>PDF Settings section of the Dataset settings page</p></figcaption></figure>

## Using the new synthesis process <a href="#synthesis-new-process" id="synthesis-new-process"></a>

Textual has developed an updated synthesis process that is currently implemented for the following entity types:

* URLs
* Names
* Custom entity types

In particular, the new synthesis process improves the display of the synthesized values in PDF files. The values better match the available space and the original font.

Under **PDF Settings**, the **New PDF synthesis mode (experimental)** determines which process to use.

To use the new process, toggle the setting to the on position.

## Configuring whether to redact PDF signatures <a href="#dataset-config-pdf-signatures" id="dataset-config-pdf-signatures"></a>

By default, Textual redacts scanned-in signatures in PDF files. You can configure the dataset to instead ignore the signatures.

Under **PDF Settings**:

* To redact PDF signatures, toggle **Detect and redact signatures in PDFs** to the on position. This is the default configuration.
* To ignore PDF signatures, toggle **Detect and redact signatures in PDFs** to the off position.

## Selecting the OCR model to use (self-hosted only) <a href="#ocr-model-self-hosted" id="ocr-model-self-hosted"></a>

For PDFs as well as images, if multiple optical character recognition (OCR) models are available, you can select the specific model to use in the dataset. For information on how to enable specific models, go to [textual-config-pdf-image](https://docs.tonic.ai/textual/textual-install-administer/configuring-textual/enable-and-configure-textual-features/textual-config-pdf-image "mention").

Under **PDF Settings**, from the **OCR Engine** dropdown list, select the model to use.

<figure><img src="https://3072847115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvOPn7KQptPWmS5iKg5P0%2Fuploads%2FTsOFSqcA1mg4zevI7GHp%2FDatasetSettingsOCREngine.png?alt=media&#x26;token=49d2e82b-2e9b-48cc-9737-d050a6f9b909" alt=""><figcaption><p>OCR Engine dropdown list in PDF Settings</p></figcaption></figure>
