Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension E Unicode Version 8.0 chars does not rendered with registered font in PDF. #2847

Open
kristinaright opened this issue Aug 21, 2024 · 0 comments

Comments

@kristinaright
Copy link

kristinaright commented Aug 21, 2024

Describe the bug
react-pdf/renderer does not render Extension E Unicode Version 8.0 chars which does not included into Basic Multilanguage plane even when i registered Noto sans SC font latest(v37) version which should support this chars(and it actually support, we can approve it using simple html with this font and chars).

PS: for https://react-pdf.org/repl it works fine seems like an issue with server only( i tried both node@18 and node@20)
To check that this font supports chars you can open .html file in the root of the project and see rendered fonts in chrome dev tools.

To Reproduce
Steps to reproduce the behavior including code snippet (if applies):

  1. Clone repo (https://github.com/kristinaright/react-pdf-example)
  2. Install deps
  3. go to /service
  4. run dev script
  5. send GET request localhost:3000/documents/basic

You can make use of react-pdf REPL to share the snippet

Expected behavior
All chars rendered.

Screenshots
Снимок экрана 2024-08-21 в 21 20 34

Desktop (please complete the following information):

  • OS: MacOS, Linux
  • Browser: chrome
  • React-pdf version v3.4.2

Thank you in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant