rasterizeHTML.js icon indicating copy to clipboard operation
rasterizeHTML.js copied to clipboard

Does not work on iOS

Open z-vr opened this issue 11 years ago • 4 comments

The demos did not run on my iPhone 4 with iOS 6.

z-vr avatar Aug 10 '14 18:08 z-vr

Thanks for the report.

It would be helpful if you could be more precise about which demo, and which error was returned (if any). I don't have access to an iPhone, and don't know any emulator or VM I could reach out to for trying to debug this issue.

cburgmer avatar Aug 11 '14 18:08 cburgmer

Hi! I've tested on iPad with iOs5, it does not render anything, then in Safari on iOs 6, it renders bottom one properly, and on iOs 7 it does not render images: image I think it has to do with security sand-boxing. I'm gonna test more and try debug with my iPhone, thanks.

z-vr avatar Aug 13 '14 17:08 z-vr

Sorry for the late response. Last time I checked the issue, I didn't see the images.

The missing content in the above demo might be related to the webfont either not being supported in iOS or the browser having an issue with inlining the given font.

For the missing image: WebKit does have an issue with loading images, even in the Safari I am testing with right now. This seems only to be a problem for the example on the project page though, not with others tried locally. I'll add an issue for that.

A recent change (not yet released) gives you the internal SVG representation in the result passed to the promise. This might help with debugging.

I can only guess, as I don't have an iPhone or simulator at hand. :|

cburgmer avatar Nov 02 '14 17:11 cburgmer

I was able to circumvent the Safari issue with missing images in 91d8800cd03. This might work for you.

cburgmer avatar Nov 18 '14 19:11 cburgmer