# Bug OP-17871 - Custom PDF fonts: Cannot upload more than one TTF file

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-17871

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Export / PDF Export |
| Target versions | 16.4.1 |
| Observed in versions | 16.4.0 |
| Sprint | 16.4.1 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.4.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Andrej Sandorf |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

<br>

1.  Login as an administrator
    
2.  Navigate to Administration -&gt; Design -&gt; PDF export font
    
3.  Upload a .ttf file for a new regular font
    
4.  Try to upload a second .ttf file for a bold font
    

### What is the buggy behavior?

<br>

*   When the second file is uploaded, an error &quot;is not a valid TTF font file&quot; shows up
    
*   The first uploaded file is not visible in the UI anymore
    
*   When the second uploaded file is deleted, the first appears again
    
*   It is not possible to generate a PDF demo anymore
    

### What is the expected behavior?

<br>

1.  It is possible to upload .ttf files to all four offered options
    
2.  A PDF demo can be generated
    

###   

### **Logs**

_<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/781968/content">_

### Screenshots and other files

<br>

See &quot;Design-fonts.mp4&quot; attached.

<br>

### Environment information

_Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs_

**OpenProject installation type**

*   Hosted cloud edition
    

**OpenProject version**

_16.4.0_

**Browser**

*   [ ] Chrome
*   [ ] Firefox
*   [ ] Safari
*   [ ] Mobile Safari
*   [x] Other (Vivaldi)

**Operating System**

*   [x] Windows
*   [ ] Mac OS X
*   [ ] Mobile iOS
*   [ ] Mobile Android
*   [ ] Linux (please specify distro)
*   [ ] Chrome OS
*   [ ] Other (please specify)

**Language**

DE/EN/ES tested
