stephanrauh / ngx-extended-pdf-viewer

A full-blown PDF viewer for Angular 16, 17, and beyond
https://pdfviewer.net
Apache License 2.0
449 stars 167 forks source link

The bcmap file is lost for specific Japanese PDFs. #2344

Closed kmt-t closed 3 weeks ago

kmt-t commented 1 month ago

I apologize for my limited English and insufficient explanation. I have created an issue in the Kavita project with more details.

https://github.com/Kareadita/Kavita/issues/2970

I cannot share the problematic PDF publicly due to copyright restrictions.

stephanrauh commented 1 month ago

I've opened one of my few Japanese PDF files that load a bcmap in the showcase. It looks OK to me. Does Kavita add the bcmap to the assets folder, and it the application correctly configured so it can load the bcmap? Please check the network tab for errors.

image
stephanrauh commented 1 month ago

OK, I just saw that you did check the URL and the assets folder. It seems your installation puts the files into the wrong folders. There's a property to configure the file of the CMAP files (pdfDefaultOptions .cMapUrl), but I suppose it's besser to investigate why the file is copied to the root folder instead of the assets folder.

kmt-t commented 1 month ago

Thank you for your kindness.

I will request to close this ticket once the communication on the Kavita side is concluded.

majora2007 commented 3 weeks ago

This is fixed from Kavita's side and was not an issue with this library. Thanks for the support on my ticket.

stephanrauh commented 3 weeks ago

That's great news!