# General formatting

Creating a new export profile or editing an already existing one is done in the Export Profile editor, where you can specify the formatting settings that belong to the given profile.

1\. Give the export profile a name.

<figure><img src="https://1860999847-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzRdmWgyGMtYCkkt1hFgr%2Fuploads%2FcTEN64fwPOHcODIN8Bgc%2FK%C3%A9perny%C5%91k%C3%A9p%202024-06-04%20125048.png?alt=media&#x26;token=aa34039d-0138-48f6-832f-2d11ce28fd14" alt=""><figcaption><p>Adding a name</p></figcaption></figure>

## Font settings in case of PDF export <a href="#advancedsettings-fontsettingsincaseofpdfexport" id="advancedsettings-fontsettingsincaseofpdfexport"></a>

### **Custom fonts**

Any previously uploaded font can be selected. Read more about it in [PDF Custom Fonts](https://docs.meta-inf.hu/content-exporter-confluence/user-guides/before-exporting/pdf-custom-fonts).

<figure><img src="https://1860999847-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzRdmWgyGMtYCkkt1hFgr%2Fuploads%2FQ5M2RQICV3rZHxcmp4LR%2Fimage.png?alt=media&#x26;token=79f48e5a-e93c-4768-974e-042d79b302e1" alt=""><figcaption></figcaption></figure>

### **Adding additional fonts**

Multiple custom fonts to the PDF export can be added, and used to customize the output of the PDF export. Follow the steps below to add an additional font to your export:

1\. Add the font to your custom fonts list.

{% hint style="warning" %}
**Important**: The CSS name field is necessary.
{% endhint %}

<figure><img src="https://1860999847-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzRdmWgyGMtYCkkt1hFgr%2Fuploads%2FpPc4P0yfYWwythB5wj1h%2Fimage.png?alt=media&#x26;token=81da4f03-f8c6-4154-a876-bc47664ddcff" alt=""><figcaption></figcaption></figure>

2\. Create or add a new connection to a custom font in a custom stylesheet, where `font-family` must be the CSS name given at uploading:

```css
h1 {
  font-family: customfont1;
}
```

3\. Start a new PDF export and set up the following:\
&#x20; a. Select a custom stylesheet.\
&#x20; b. Make sure the additional font is added to the profile\
&#x20; c. Export.

{% hint style="info" %}
**Note**: If exporting multiple pages is chosen, each confluence page starts on a new page.
{% endhint %}

## Table formatting

If you are exporting content with a big table that does not fit on the page, you may have some influence on how tables are generated.

* Automatically decreasing font size can be enabled. By enabling this option the font size will be resized to smaller if the table content is too long.
* Word breaking can be forced to break the words at any two characters.

<figure><img src="https://1860999847-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzRdmWgyGMtYCkkt1hFgr%2Fuploads%2FhFhp4P2w1Pt0is2hO8Rh%2F2024-06-04%2016_23_15-Clipboard.png?alt=media&#x26;token=809bc160-f160-445e-8d43-48aa76cc83fa" alt=""><figcaption></figcaption></figure>
