Re: Serious bug in 2.6 PangoGraphics

From: Tomas Frydrych <>
Date: Wed Jun 18 2008 - 20:50:37 CEST

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.

Received on Wed Jun 18 20:51:53 2008

This archive was generated by hypermail 2.1.8 : Wed Jun 18 2008 - 20:51:53 CEST