diegomura / diegomura/react-pdf
Nested text styling does not work on Windows
- Dominant language
- TypeScript
- Stars
- 16.8k
- Forks
- 1.3k
- Avg merge
- 5h 6m
- Merged PRs (30d)
- 52
Description
**Describe the bug**
**To Reproduce**
Steps to reproduce the behavior including code snippet (if applies):
Rendering this document with Roboto is messing up the formatting of next next blocks:
```
Should be bold
Shouldn't be bold
```
Produces the following result

Making the second part bold is doing nothing:
```
Shouldn't be bold
Should be bold
```
Produces the following result:

**Expected behavior**
Text formatted according to the fontWeight.
**Desktop (please complete the following information):**
- OS: Windows
- Browser: Chrome
- React-pdf version 3.4.3
-
PS: It works perfectly on MacOS
Contributor guide
Assessment
This issue has not been assessed yet.