3D FlipBook - Missing text

c***m@boxlight.com
2021-04-19
2021-04-24

All of the text of the PDF is missing. The images and colors and borders show. All text is missing though. This PDF shows fine on a different site (same theme). I thought maybe Imagify was a factor. I deactivated Imagify with no change. All other plugins between the 2 sites are the same. I read a doc from a different flipbook about optimizing the PDF to solve this.

Any thoughts on what is going on?

Replies

a***r@3dflipbook.net
2021-04-20
2021-04-20

already heard about similar symptoms - only one idea is encoding/ check server headers for the pdf. What about other PDFs?

c***m@boxlight.com
2021-04-20
2021-04-20

It is happening for all PDFs. Can you provide more details about the server headers? Thanks!

a***r@3dflipbook.net
2021-04-22
2021-04-22

Could you provide access to your WP, write me on author@3dflipbook.net, also allow CORS for debugging - insert in .htaccess:

# CORS for PDFs
<IfModule mod_headers.c>
<Files ~ ".*\.pdf$">
Header add Access-Control-Allow-Origin "*"
Header add Access-Control-Allow-Methods "GET"
Header add Access-Control-Allow-Headers: "Range"
Header add Access-Control-Expose-Headers: "Accept-Ranges, Content-Encoding, Content-Length, Content-Range"
</Files>
</IfModule>

we will try to open your PDF from our server.

c***m@boxlight.com
2021-04-22
2021-04-22

Hi. This is done. you should see the new user email.

a***r@3dflipbook.net
2021-04-24
2021-04-24

Thank you very much. Found the issue, it went from /wp-content/themes/cherryframework4/lib/assets/js/cherry-api.min.js. I created canvas using jQuery('<canvas>') for rendering PDF, but after this library it leads to missing text. Fixed the issue.

c***m@boxlight.com
2021-04-26
2021-04-26

Thanks for the quick response. I will remove the user and htaccess code.

Log In to leave a comment