Description:
When converting HTML or a URL to PDF, fonts like Nunito or other styles may not appear as expected in the output.
Root Cause:
This usually happens if the @import
URL for the font is incorrect or broken, causing the PDF converter to skip loading the font.
Solution:
Check the
@import
statement in Chrome DevTools → Console for any 400 errors.Replace the URL with a correct, working one. Example for Nunito:
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,800;1,400;1,700&display=swap');
Tip: Always verify your font URLs in the browser console before converting to PDF.