On Feb 19, 2008 8:02 PM, Vladimir Vukicevic <<a href="mailto:vladimir@pobox.com">vladimir@pobox.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Plugins on linux are a very different beast than win32/osx, because<br>there isn't a standard printing interface on linux like there is on<br>the other platforms. I believe that the NPAPI provides only one way<br>to print plugins on linux, and that's a "Give me an Encapsulated<br>
PostScript stream" method that is called while printing, with the<br>result stuck into the output. Obviously, this doesn't work unless<br>you're manually generating postscript output. However, I'm pretty<br>
sure that the only implementor of this API on linux is the Java<br>plugin; future revs of NPAPI on linux will probably use cairo directly<br>(or at least, I'm going to push heavily in that direction).<br></blockquote>
<div><br>The other thing we can do is XComposite/XDamage Jedi mind tricks to capture all plugin rendering, which we can then print as a bitmap. Not as good quality as if we can persuade plugins to draw using cairo, of course.<br>
<br></div></div>Rob<br>-- <br>"He was pierced for our transgressions, he was crushed for our iniquities; the punishment that brought us peace was upon him, and by his wounds we are healed. We all, like sheep, have gone astray, each of us has turned to his own way; and the LORD has laid on him the iniquity of us all." [Isaiah 53:5-6]