Re: Pango graphics class

From: Martin Sevior <msevior_at_physics.unimelb.edu.au>
Date: Mon Dec 05 2005 - 00:20:46 CET

On Sun, 2005-12-04 at 19:40 +0000, Tomas Frydrych wrote:
>
> The unix Pango graphics class has now reached stage where it Basically
> Works (TM); in order to get it to the Just Works (TM) state, I have now
> made it the default, so you can file bugs against it.
>
> (If you need to turn it off, add DefaultGraphics="0x105" to the _custom_
> section of your AbiWord.profile).
>
> For those more inquisitive, the Pango support is implemented in two new
> graphics classes, found in gr_UnixPangoGraphics.h/cpp.
> GR_UnixPangoGraphics is based on GR_UnixGraphics and
> provides output on screen. GR_UnixPangoPrintGraphics is based on
> GR_UnixPangoGraphics and in addition owns an instance of
> XAP_UnixGnomePrintGraphics; the inherited methods from
> GR_UnixPangoGraphics provide for the text processing, the
> XAP_UnixGnomePrintGraphics instance is used to do everything other than
> text output. This turned out to be a simple solution than making it
> inherit from both of the classes.
>

Congratulations Tomas! This seems to work very well so far. Speed
appears about the same.

I'll take some time to look over the code in detail. I'm very interested
to see if we can use Gtk-Cairo to do subpixel positioning.

Cheers

martin

> Tomas
>
>
>
>
> ___________________________________________________________
> WIN ONE OF THREE YAHOO! VESPAS - Enter now! - http://uk.cars.yahoo.com/features/competitions/vespa.html
>
Received on Mon Dec 5 01:25:41 2005

This archive was generated by hypermail 2.1.8 : Mon Dec 05 2005 - 01:25:41 CET