You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My page import fonts from adobe cdn. And they are randomly not render correctly. Approx 1 of 10 rendered fonts are not render at all or are used default fallback fonts. I struggle with this and i found solution.
Before render pdf i wait for fonts ready.
//....// Output options if in debug modeif(cli.debug){console.log(options);}awaitpage.evaluateHandle('document.fonts.ready');// add this lineawaitpage.pdf(options);
The text was updated successfully, but these errors were encountered:
My page import fonts from adobe cdn. And they are randomly not render correctly. Approx 1 of 10 rendered fonts are not render at all or are used default fallback fonts. I struggle with this and i found solution.
Before render pdf i wait for fonts ready.
The text was updated successfully, but these errors were encountered: