Re: Serious bug in 2.6 PangoGraphics

From: Martin Sevior <msevior_at_gmail.com>
Date: Thu Jun 19 2008 - 02:29:08 CEST

On Thu, Jun 19, 2008 at 4:50 AM, Tomas Frydrych <tf@o-hand.com> wrote:
> Martin Sevior wrote:
>> Hi Everyone,
>> I've just committed a fix to STABLE to fix this.
>> Still needs some fixes to make equations print correctly but otherwise
>> it is all good. We get the same layout no matter how start the initial
>> zoom and we get consistent printing with and without X11.
>>
>> This code essentially mirrors what did prior to 2.6 by making all
>> layout calculations with a fonts calculated at resolutions of 1440
>> dpi.
>
> It might be worth to check the impact of this change on memory
> footprint; iirc, PangoGlyphString takes up around 24 bytes per glyph.
> Also, I think with the upcoming Cairo graphics class, it would be worth
> to investigate whether zooming could be done via transforms rather than
> via the font-size hack.
>

Hi Tomas,
                Yes this will use more more memory. At least 24 bytes
per glyph as you say. The benchmark as to whether Rob succeeds will be
whether he can avoid bugs 11664 and 11668 without the 1440 dpi
reference font.

Cheers

Martin

> Tomas
>
Received on Thu Jun 19 02:29:16 2008

This archive was generated by hypermail 2.1.8 : Thu Jun 19 2008 - 02:29:16 CEST