PDF export problem - Upload font but cause exporting error
Asked by OIT PKRV:

Hello!

I have a difficulty in exporting document in PDF with my font, which I've uploaded.

Here is error:

Oops - an error has occurred {#toc-hId-1850621508}
--------------------------------------------------

[![logo](http://wikiokr.npo-pkrv.ru:8090/images/logo/confluence_48_white.png "Confluence")](http://wikiokr.npo-pkrv.ru:8090/)System Error {#toc-hId--701535453}
---------------------------------------------------------------------------------------------------------------------------------------------------------------

A system error has occurred --- our apologies!

For immediate troubleshooting, consult our **[knowledge base](http://confluence.atlassian.com/display/CONFKB/Confluence+Knowledge+Base+Home)** for a solution.

If you would like to receive support from Atlassian's support team, ask your **[Confluence administrator](http://wikiokr.npo-pkrv.ru:8090/contactadministrators.action)** to create a support issue on [Atlassian's support system](http://support.atlassian.com/) with the following information:

1. a description of your problem and what you were doing at the time it occurred
2. a copy of the error and system information found below
3. a copy of the application logs (if possible).

Your Confluence administrator can use the **[support request form](http://wikiokr.npo-pkrv.ru:8090/admin/raisesupportrequest.action)** to create a support ticket which will include this information.

We will respond as promptly as possible.  
Thank you!

[**Return to site homepage...**](http://wikiokr.npo-pkrv.ru:8090/)

### Cause {#toc-hId-844761377}

java.lang.RuntimeException: com.atlassian.confluence.importexport.ImportExportException: com.lowagie.text.DocumentException: /var/atlassian/application-data/confluence/fonts/a_HuxleyOtl Regular.Ttf cannot be embedded due to licensing restrictions.  
at com.atlassian.confluence.extra.flyingpdf.ExportPageAsPdfAction.doExecute(ExportPageAsPdfAction.java:52)

caused by: com.atlassian.confluence.importexport.ImportExportException: com.lowagie.text.DocumentException: /var/atlassian/application-data/confluence/fonts/a_HuxleyOtl Regular.Ttf cannot be embedded due to licensing restrictions.  
at com.atlassian.confluence.extra.flyingpdf.FlyingSaucerXmlToPdfConverter.useCustomFontIfConfigured(FlyingSaucerXmlToPdfConverter.java:255)

caused by: com.lowagie.text.DocumentException: /var/atlassian/application-data/confluence/fonts/a_HuxleyOtl Regular.Ttf cannot be embedded due to licensing restrictions.  
at com.lowagie.text.pdf.TrueTypeFontUnicode.\<init\>(Unknown Source)


Answers:
author: Shannon S
body: Hello,

I found the answer from this forum:

* [Can not export ttf font to PDF: cannot be embedded due to licensing restrictions. What is the reason of this error?](https://community.jaspersoft.com/wiki/can-not-export-ttf-font-pdf-cannot-be-embedded-due-licensing-restrictions-what-reason-error)

> This behavior is related to the third party vendor's policy (Adobe/PDF)
>
> and license restrictions for fonts. The font itself does not allow to be embedded.

For more details, have a look on Adobe's forum:

* [Why provide fonts that can't be used??](https://forums.adobe.com/message/2397381#2397381)
* [Font embedding problem when exporting to PDF](https://forums.adobe.com/thread/484300?tstart=0)

I hope that's clear, let me know if you have any questions.

Regards,

Shannon