# Feature OP-14104 - PDF Export: Support non-latin languages and emojis

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

## Planning

| Attribute | Value |
| --- | --- |
| Date | 2023-09-27 |
| Priority | High |
| Target versions | 16.2.0 |
| Sprint | 16.2.0 |
| Backlog bucket |  |
| Votes | 15 |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

| ID | Type | Subject | Status | Assignee | Target versions | Spent time | Module |
| --- | --- | --- | --- | --- | --- | --- | --- |
| OP-17369 | Bug | Characters from different languages/alphabets not correctly rendered in pdf report | confirmed |  |  |  | Modules and project features / Export / PDF Export |
| OP-17358 | Bug | Arabic is rendered LTR instead of RTL in the pdf export | confirmed |  |  |  | Modules and project features / Export / PDF Export |

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | Modules and project features / Export / PDF Export |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

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

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** an international user  
**I want to** export a PDF in my language  
**so that** I don't have missing glyphs in the PDF

**Problem:**

As OpenProject can be used in many languages, the PDF export currently cannot, as it shows missing glyphs as \[\]\[\]\[\] or some characters not at all. Same situation for emojis and many mathematical symbols.

**Acceptance criteria**

  - PDF export supports character sets most used with OpenProject

  - PDF export supports (most) emojis

**Technical notes**

  - This affects all PDF exports (Timesheet, Report, Gantt, ...)

  - Most font formats in common use (OpenType, TrueType) are limited to about 64K uniquely encoded glyphs. Therefore it is impossible to encode all about 150K current Unicode characters in a single font, or even in two fonts.

  - Include more font files in OpenProject

  - Must be compatible with prawnPDF gem and most used PDF readers

  - *italic* is not supported by all writing systems

**Out of scope**

  - uploading custom user font files

  - supporting ALL unicode characters

## Notes to QA:

For a quick start into testing have a look at this wp :)  
<https://qa.openproject-edge.com/projects/pdf-export/work\_packages/11018/activity>
