Click or drag to resize

PdfConverterWaitForWebFonts Property

Waits for web fonts still loading before the page is measured and printed. True by default.

Namespace: ExpertPdf.Anywhere.HtmlToPdf
Assembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntax
public bool WaitForWebFonts { 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