Open ipetersenpai opened 3 weeks ago
@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"
},
The following font are no longer displaying. hopefully this can be fix asap