On Wed, 05 Aug 2009 21:34:17 +0200, Bernd Roesch wrote:

> I read here something about Cairo.Seem Cairo work too in ARGB Format.

Yes, it does.  In anything other than ARGB it outputs nothing.  This
isn't a problem for NetSurf as the BitMap I create for the drawing
area is always ARGB (precisely due to Cairo not working on anything
else).

The Cairo clipping is so ridiculously slow on OS4 that I'm not able to
fully Cairo-ise it unfortunately, and Cairo only operates directly on
BitMaps so Layers clipping is bypassed too.  This causes a rendering
bug on YouTube, where the boxes around "related videos" end up not
getting clipped to the scroll area.  I'm rambling, let's get back on
topic...

> > I guess the new libnsgif still breaks it though?
> 
> yes i think, i have not test.if libgif is change there need also png jpg
> change and other image formats.

Yes, this was my original argument in this thread.  If libnsgif needs
changing then everything else does too.  Change them all or leave them
all.  I'm not massively fussed either way, but half-and-half is
seriously broken and it is broken on all big endian platforms.

It's not even possible to fix it within the platform code as the
bitmap plotter doesn't know what original content-type (or pixel
format) is.

Regards
Chris

Reply via email to