Re: Serious bug in 2.6 PangoGraphics

From: Martin Sevior <msevior_at_gmail.com>
Date: Wed Jun 18 2008 - 07:31:48 CEST

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.

Rob, you might want to look at this code for your project. Uwog please
forward port this to TRUNK.

Cheers

Martin

Author: msevior
Date: 2008-06-18 07:15:49 +0200 (Wed, 18 Jun 2008)
New Revision: 24266

Modified:
   abiword/branches/ABI-2-6-0-STABLE/src/af/gr/unix/gr_UnixPangoGraphics.cpp
   abiword/branches/ABI-2-6-0-STABLE/src/af/gr/unix/gr_UnixPangoGraphics.h
   abiword/branches/ABI-2-6-0-STABLE/src/text/fmt/xp/fp_TextRun.cpp
Log:
Redo the graphics class to have an anchor font at 1440 dpi to provide a
consistent layout across all zooms and printing contexts. This fixes bugs
11664 and 11668

On Mon, Jun 16, 2008 at 2:38 PM, Martin Sevior <msevior@gmail.com> wrote:
> Hi Tomas,
> I'm asking for your help on this. In looking at bug
> 11664, I've discovered we have a substantial flaw in the graphics
> class that manifests itself in inconsistent layout of the same
> document.
>
> Try this. Find a two page document, this one is fine:
>
> http://bugzilla.abisource.com/attachment.cgi?id=4609
>
> Set the zoom level to 100% and load the document.
> Start a second instance of abiword, set the zoom to 200%, load the same
> document.
>
> Notice they're layed out differently. (Look at where the last line appears.)
>
> All this is document in bug 11668
>
> http://bugzilla.abisource.com/show_bug.cgi?id=11668
>
> Cheers
>
> Martin
>
Received on Wed Jun 18 07:31:59 2008

This archive was generated by hypermail 2.1.8 : Wed Jun 18 2008 - 07:31:59 CEST