# Bug OP-17796 - Custom PDF fonts: Already uploaded font is checked again and reported as invalid

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

## 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.5.0 |
| Sprint | 16.4.1 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.5.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

1.  Login as an admin
    
2.  Go to Administration &gt; Design &gt; PDF export font
    
3.  Upload the same font file for `Regular` and `Bold`
    

### What is the buggy behaviour?

*   Browser error saying the file is invalid is thrown
    

### What is the expected behaviour?

1.  User can upload the same font file twice without error
    

###   

### Screenshots and other files

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

### Environment information

**OpenProject version**

Core build

[e02c14dd7da7f16f373a919413c529b3c5157112](https://github.com/opf/openproject/commits/e02c14dd7da7f16f373a919413c529b3c5157112)

Product version

[074d388cea3eb33297770fc4f27df56cf5d9b46f](https://github.com/opf/saas-openproject/commits/074d388cea3eb33297770fc4f27df56cf5d9b46f)

Core version

OpenProject 16.4.0

**Browser**

*   [ ] Chrome
*   [x] Firefox
*   [ ] Safari
*   [ ] Mobile Safari
*   [ ] Other (please specify)

**Operating System**

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