DEFAULT FONTS IS NOT WORKING
The following font are no longer displaying. hopefully this can be fix asap
@ipetersenpai Downgrade to version 3.4.2 for default fonts to work again.
This is a duplicate of #2730.
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.
@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.
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.
@ipetersenpai can you share example code to reproduce the issue in 3.4.2?
Seeing the same issue on 3.4.4 and 3.4.2, cannot use other font families or bold fonts.
any news about this?
I have the same issue. No response to fontFamily selection.
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"
},
"overrides": { "@react-pdf/layout": "3.11.5" },
thanks!
Going all the way back to 3.3.5 still doesn't fix the issue for us...
Downgrading
@react-pdf/layoutworked as a temporary fix for me.If you are using npm, you can force a specific version by adding an
overridesproperty in yourpackage.json:"overrides": { "@react-pdf/layout": "3.11.5" },Yarn has a similar feature with the
resolutionsproperty :"resolutions": { "@react-pdf/layout": "3.11.5" },
It works, thanks!
Can someone test latest version and report if this is fixed? It should
Can someone test latest version and report if this is fixed? It should
I got default fonts working by upgrading @react-pdf/renderer to 4.0.0 👍
Will closed as fixed