Custom Fonts in HTML to PDF
Custom fonts can be vital in developing PDFs with a particular style. Companies and organizations may want custom fonts in addition to company-specific icons or graphics to showcase their brand. IronPDF supports web fonts, including the incredible Google Fonts library.
This example shows you how to include your own custom fonts in PDFs using the IronPDF custom fonts support feature.
This gives the developer full font control without needing to depend only on System typefaces.
However, implementing custom fonts in your PDF has a small caveat. There will be the need for a RenderDelay
. Also, web fonts do not work on Azure shared Windows Web App hosting for Microsoft's own security reasons.
Web Fonts Supported Include:
- Font Awesome
- Bootstrap Glyphs
- Google Fonts
- Barcode Fonts with IronPDF HTML to PDF Conversion Example
- Your own custom WOFF or SVG-based CSS font packages.