Comments (4)
This seems to be a recent dependency upgrade issue, not specifically a Vite/React issue. Try adding the overrides from here, it worked for me: #2675 (comment)
from react-pdf.
Glad it worked! I banged my head on this one for a while as well 😆
from react-pdf.
UPDATE: somehow, this error is caused by custom fonts that registered. I don't get any solution in other issues. I already register, load using promise and render the element after loading the fonts, and it's still blank. I can see all fonts is being downloaded in network tab but can't be used (?) in the iframe.
from react-pdf.
@Minivera omg thank you for the reply. it worked!! thank you very much!!! now, I can sleep well :)
from react-pdf.
Related Issues (20)
- NextJS 14 - Font.register issue on server component HOT 2
- Font.registe: Some fonts are not working, the page is blank but no error is thrown HOT 1
- Cannot render standard fonts locally (Vite, React, TS) HOT 4
- Issue with react-pdf PDFDownloadLink doucment - "Check Internet Connection" Error
- Tspan places text at the beginning of Text
- MaxListenersExceededWarning: Possible EventEmitter memory leak detected HOT 7
- Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.[missing argument]
- Font.Register is failing after building app on TS v4.9.5, React v17 and Vite v4.4.4
- The HTML entity "≤" displays as garbled characters.
- Not valid image extension / Blank space / Next 14 + Dynamic
- Vertically center inline images HOT 7
- PDF generation freezes browser tab HOT 1
- Nesting underline textDecoration removes underline
- Render multiple PDFs
- Vulnerability - Malware in legacy-swc-helpers HOT 15
- Text Nesting removes bold V3.4.4 HOT 4
- Cannot build the code on Next typescript v13 and React v18 HOT 2
- react-pdf not rendering images correctly during pdf.(<Document>).toBlob() HOT 2
- Expose renderToImage for library user's own tests
- Long single page + A4 size HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-pdf.