Questions tagged [react-pdfrenderer]
38 questions
0
votes
0 answers
How to add Adobe Myungjo font in react-pdf?
I'm using pdfjs(Document) to preview pdf in my site. (not a react-pdf/renderer)
But I can't see some paragraphs with adobe fonts.
How to add options to show adobe font in react-pdf?
(There is solution to add 'standard-fonts', but I need a solution…

ssuoier
- 1
0
votes
0 answers
Problem when I add font in react-pdf to customize i have module parse
When i add the font i have the problem module parse for the react pdf. I try to modify the theme of my pdf. I try to resolve the issue i can't .
When i add the font i have the problem module parse for the react pdf. I try to modify the theme of my…

sla
- 11
- 1
- 2
0
votes
0 answers
Multi-Column Page Layout using react-pdf
The above picture is an example of a two-column page layout system in MS Word. On the web, a similar layout can be achieved using the following code:
Lorem ipsum dolor sit amet,…

Sharukh Rahman
- 327
- 3
- 12
0
votes
0 answers
react-pdf font register fail test
I'm using custom font for react-pdf. It generates the pdf fine but my unit test keeps failing with the following error message:
TypeError: dataUrl.split is not a function
at isDataUrl (node_modules/@react-pdf/font/src/font.js:35:26)
at…

spark
- 1
0
votes
0 answers
Webpack Bundle breaks @react-pdf/renderer dynamic/external images
When on I build and bundle my CRA app with webpack. my dynamic images (url is from a external cdn) break and display like this: (https://i.stack.imgur.com/jkqIK.png)](https://i.stack.imgur.com/jkqIK.png)
It might be to do with the webpack image…

Scootz13
- 1
- 1
0
votes
0 answers
How to work around PDFs in react so that if a table doesn't fit in a page, it moves to the next
Currently I'm working on a project where I'm converting HTML to PDF. The issue I've run into is if an element doesn't fit on a page (ex: a table) it gets cut and the remaining part of it is rendered on the next page.
I've used ReactPDF but haven't…

Mohammad Mazin
- 11
- 1
-1
votes
1 answer
Is there any way to generate a dynamic pdf and download it, without rendering it using react
I am trying to generate a dynamic pdf, with some layout and it works fine, and I can download it too. But what I want is to download it without rendering it front-end. I am using @react-pdf/renderer for the same.
I tried using css property like…

geeky01adarsh
- 312
- 3
- 14