inveniosoftware / invenio-previewer

Invenio module for previewing files.
https://invenio-previewer.readthedocs.io
MIT License
5 stars 59 forks source link

pdf: japanese characters are not displayed. #178

Open alejandromumo opened 1 year ago

alejandromumo commented 1 year ago

Package version (if known): v1.4.0

Describe the bug

Some japanese characters are not displayed in PDF files, probably due to an outdated pdfjs version. Said pdf renders properly in the browser.

Steps to Reproduce

See the following record on Zenodo https://zenodo.org/record/7944748

The same pdf was tested on an invenio instance and also failed.

Context

Note that it does not happen for every japenese character. Some .pdf files render just fine.

alejandromumo commented 1 year ago

May be fIxed by https://github.com/inveniosoftware/invenio-previewer/issues/178