Skip to main content
Participant
October 13, 2021
Question

PDF embed API does not display files

  • October 13, 2021
  • 2 replies
  • 759 views

I'm encountering a problem with the PDF embed API: sometimes it works and my pdfs are displaying and sometimes not. I've noticed that when they are not displayed, for some reasons, two files (ASansMMData.bin and ASerifMMData.bin) are not loaded through the http calls that the library does.

My files are all located inside a directory on the server that hosts my domain, so there's not any CORS issue.

Hope someone can help me with this problem.

    This topic has been closed for replies.

    2 replies

    Participant
    July 21, 2022

    Hello, I'm currently witnessing this same exact issue, did you ever figure anything out with it?

    Legend
    October 13, 2021

    Background info: they seem to be font files. So if the file is not displayed for some reason, it doesn't need the font files. This is probably effect, not cause.

    Participant
    October 13, 2021

    You're right, but I can't understand why the library sometimes works and sometimes not (even with the same file and in the same session!); and everytime that it does not work, I can notice that those files are not loaded... so, maybe it is not a coincidence.