-
I have added the Inter font using a link from Google Fonts: However, when I try to work with font weights other than 700 and 400, it displays the text with sans-serif. Previously, in version 2.0.3, it was working fine. I am using Laravel. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
ayoubAstr
Mar 6, 2024
Replies: 2 comments 1 reply
-
Are you saying it works in 2.0.3 but not 2.0.4? The only change in 2.0.4 was to how Dompdf validates SVG images and should not have any impact on font rendering. A quick test and it seems to be working OK for me. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you for your response, Bsweeney. Previously, I was using the following code:
Now, after making the following changes:
Everything works as expected. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ayoubAstr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for your response, Bsweeney.
Previously, I was using the following code:
Now, after making the following changes:
Everything works as expected.