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 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: