diegomura / diegomura/react-pdf

First letter dissappears

Open
#3,441 2 comments 4 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
16.8k
Forks
1.3k
Avg merge
5h 6m
Merged PRs (30d)
52

Description

**Describe the bug**
When rendering text inside a container that uses a custom style with flexDirection: "row", certain capital letters disappear. However, other Greek capital letters render completely fine under the exact same conditions.
I am using Roboto font, but i try other fonts and get the same result.

**To Reproduce**
The bug exists in {location}
```html

Πελάτης:


{brand_name}


Περιοχή:


{locations}



```
Additional info
```html
text: {
fontSize: 10,
},

```

_You can make use of [react-pdf REPL](https://react-pdf.org/repl) to share the snippet_

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
It must shows Kimolos, but it show imolos
Image

But works well with greek letter, and other english characters

**Desktop (please complete the following information):**

- OS: Windows, MacOS, Ubunty
- Browser: all
- React-pdf version 4.5.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.