Comments (9)
Downgrading @react-pdf/layout
worked as a temporary fix for me.
If you are using npm, you can force a specific version by adding an overrides
property in your package.json
:
"overrides": {
"@react-pdf/layout": "3.11.5"
},
Yarn has a similar feature with the resolutions
property :
"resolutions": {
"@react-pdf/layout": "3.11.5"
},
from react-pdf.
any news about this?
from react-pdf.
@ipetersenpai Downgrade to version 3.4.2 for default fonts to work again.
This is a duplicate of #2730.
from react-pdf.
still did not work. hopefully in the next update this issue will be fixed because it so hard to tell to the client and let them understand that theere is a minor bug on the package I used.
from react-pdf.
@ipetersenpai make sure you have the dependencies pinned and re-install. For example ^3.4.2
is not pinned and will auto update to 3.4.4
.
from react-pdf.
still not fix. I already reinstalled the package without pin on it 3.4.2
hopefully this one get fix soon and the latest version can support the default font style.
from react-pdf.
@ipetersenpai can you share example code to reproduce the issue in 3.4.2
?
from react-pdf.
Seeing the same issue on 3.4.4
and 3.4.2
, cannot use other font families or bold fonts.
from react-pdf.
I have the same issue. No response to fontFamily selection.
from react-pdf.
Related Issues (20)
- Vite 5 + React 18 can't render PDFViewer and give blank page in iframe due to custom fonts HOT 4
- Custom font causes infinite pending of `toBlob` HOT 2
- PDFDownloadLink not working using next js HOT 3
- Vulnerability in used pdfjs-dist version HOT 12
- hasOwnProperty undefined HOT 3
- Image not loading after webpack & file-loader
- unable to set pdfinstance to null
- PDFDownloadLink not working using Next js HOT 2
- Error when building code for the browser with esbuild - cannot not resolve "fs", "buffer", "stream", "zlib", "path", "url" HOT 1
- compat with react 19 HOT 21
- Cloudflare worker compatibility
- ReferenceError: Buffer is not defined
- Dependency versioning HOT 1
- My use of `<PDFViewer style={PDFStyles.viewer}>` results in error that does not exist when just using `<Document>` HOT 2
- Copy and pasting Roboto font from Chrome PDF preview results in missing characters. HOT 2
- Vertical Compression of Components when using wrap={false} HOT 4
- Infinity Pending when using PDFDownloadLink
- No Styles When Only Rendering With Document
- Jest Test Cases Not Working After Updating react-pdf from 8.0.2 to 9.0.0
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.