[cairo] Question about how Firefox 3 switching to use cairo as the graphics engine

ying lcs yinglcs at gmail.com
Mon Feb 18 21:05:05 PST 2008


- Show quoted text -

On Feb 18, 2008 10:39 PM, Vladimir Vukicevic <vladimir at pobox.com> wrote:
>
>
> On Feb 17, 2008, at 6:36 PM, ying lcs wrote:
>
> > Hi,
> >
> > I know this may be a wrong question for this question. But I get no
> > response when i posted this to mozilla newsgroup.
> >
> > I think  Firefox 3 switching to use cairo as the graphics engine.
> > I think it can use cairo paint text, draw line functions to display
> > web page content.
> > But what about plugins? How will plugins being drawn to the cairo
> > surface?
>
> Plugins continue to use the native platform APIs, and we simply hand
> them a platform native surface (HDC, CGContext, whatever) to do so
> in.  This is really only an issue on the platforms that support
> 'windowless plugins', where the plugin draws directly to the normal
> gfx content.  However, that list is all 3 platforms now, so it's an
> issue everywhere :)  As far as I know though, only Flash implements
> this mode.  There are a bunch of problems with it (e.g. difficulties
> in printing) that we have had to kludge in various workarounds for,
> but for the most part it seems to work ok.
>
>       - Vlad
>
>

Thank you Vald.  I am actually trying to understand why
Firefox on linux does not print (both using printer or the Canvas API)
any flash plugin content, but on
windows it works.

I am wondering if the fact that FF3 moves to cairo will fix this
problem. But from my testing with FF3 on linux, that does not fix
that.

I am looking if there is a solution for this problem.

Thank you.


More information about the cairo mailing list