pdf-l4
pdf-l4 copied to clipboard
iOS -- In-browser encoding issues
I am using this plugin in a Laravel install for a client of ours. Here's what's happening:
Android: auto-download and view fine Desktop/Laptop: all major browsers auto-download/open and view fine
iOS iPhone, and iPad (even on chrome and safari apps) the PDF's are downloading and being viewed as if they were improperly encoded. I traced back the code to the core of the application that the downloads were being sent the correct headers. Does this have to do with some obscure iOS 7.x bug?
PDF::load($html, 'A4', 'portrait')->download( ... )
Sorry but I'm an Android user so I can't test...