PdfConverterWaitForWebFonts Property |
Waits for web fonts still loading before the page is measured and printed. True by default.
Namespace: ExpertPdf.Anywhere.HtmlToPdfAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntaxpublic bool WaitForWebFonts { get; set; }Public Property WaitForWebFonts As Boolean
Get
Set
Property Value
Boolean
Remarks
A web font first used after the page's load event - by text a script adds, or a style switched later - is not
waited for by the load itself; without this wait the page could print in a fallback font while the web font
was still downloading. The wait is bounded (10 seconds) and costs nothing when no font is loading. A font that
fails to load keeps falling back, as in a browser.
See Also