bblanchon / pdfium-binaries

📰 Binary distribution of PDFium
904 stars 194 forks source link

Some Characters Missing in Image Generated by pdfium #167

Closed KameshRajendran closed 5 months ago

KameshRajendran commented 5 months ago

Hi Team,

We have been trying to convert a PDF document into an image using pdfium.wasm, but the generated document is missing some characters. However, when we use pdfium.dll for the conversion, it works correctly. Our project relies on pdfium.wasm, and it fails in these scenarios.

We downloaded the latest version of pdfium.wasm from the following link:

https://github.com/bblanchon/pdfium-binaries?tab=readme-ov-file#download

Please check the live sample below, which uses pdfium.wasm to convert PDFs into images: https://pdfviewer.github.io/

Replication steps:

  1. Open the GitHub sample link above.
  2. Upload the attached PDF document.
  3. Click the “Process file” button.

Document example.pdf

Image generated using pdfium.dll Image generated using pdfium.wasm
image image

Could you please investigate and provide a solution to resolve this issue, as it is affecting our production sites?

bblanchon commented 5 months ago

Duplicate of #163