Failed to load font 'g_d1_f9': 'SyntaxError: Invalid font data in ArrayBuffer.'

Which product are you using?
PDF.js Express Viewer

PDF.js Express Version
8.7,4

Detailed description of issue
Fonts not displaying on PDF. They work everywhere else, just not in PDFJs or the demo webviewer.

Failed to load font ‘g_d1_f9’: ‘SyntaxError: Invalid font data in ArrayBuffer.’.

Expected behaviour
Fonts should just display

Does your issue happen with every document, or just one?
Just one

Link to document

Hello dale,

Can you provide the document for us to test with?

Best regards,
Tyler

1 Like

redacted_problem_pdf.pdf (52.9 KB)

Hello dale,

The file loads correctly for me for both WebViewer and PDFJS Express,

Can you provide some additional steps to reproduce the issue? including any environment details such as OS and Browser?

Best regards,
Tyler

Here are the two versions - One in Apyse with correctly loaded fonts and one in PDFJS Webviewer Demo


Done using Windows 11, and both latest Chrome/Edge.