Thanks for your answer!


The only way that comes to mind offhand is to spin up a separate event loop (by pushing a new thread event queue) right before you start the load and then processing events on this until you're done....



This sounds complicated. I found a way to preload images so that they are already cached when printing. Still, an api to synchronously load images would be nice as my fix will not work in all szenarios.


You could also file a bug on imagelib requesting some sort of synchonous-like API, I guess.


Here it is: https://bugzilla.mozilla.org/show_bug.cgi?id=292729

Regards,
RenÃ
_______________________________________________
mozilla-layout mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-layout

Reply via email to