After loading any Pdf some letters are covered in white and its fixed after Zooming

Which product are you using?
{PDF.js Express Plus}

PDF.js Express Version
{8.7.1}

Detailed description of issue
{After loading a document, the letters are not displayed correctly and are partially covered with white. If I zoom in and then out again, the document is displayed correctly in the viewer again.}

Expected behaviour
{The document should load without problems so that each letter is readable}

Does your issue happen with every document, or just one?
{This issue happens in multiple documents}

Link to document
{https://file-examples.com/storage/fe22116a7163ff1a2a32938/2017/10/file-sample_150kB.pdf}

Code snippet
{ if (instance === undefined) {
const newInstance = await WebViewer({
path: ‘/pdfjsexpress’, // path to the PDFTron ‘lib’ folder on your server
initialDoc: ‘’
}, viewerDiv.current as HTMLDivElement);
newInstance.setLanguage(‘de’)
setInstance(newInstance);
} else {
if (IsThemeDark()) {
instance.UI.setTheme(‘dark’);
}
else {
instance.UI.setTheme(‘light’);
}
const { documentViewer, annotationManager } = instance.Core;
setInstance(instance);
setDocViewer(documentViewer);
setAnnotManager(annotationManager);
}}

Hello tw1,

This is actually a Chrome issue we have encountered previously, you can see a bug report was created here:

https://bugs.chromium.org/p/chromium/issues/detail?id=1404710&q=pdf%20rendering&can=2

There was a possible fix that we haven’t been able to verify, but if you access the canvas that is rendering the page and add “willReadFrequently: true” it could work

Best regards,
Tyler Gordon