Re: [PATCH] Fix T1 font rendering in dvi backend



El jue, 10-04-2008 a las 01:10 +0200, Mattias Nissler escribió:
> Hi,

Hi Mattias,

> below patch fixes the problem of T1 font characters being rendered
> incorrectly. I've made two screenshots illustrating this. In the broken
> rendering [1], the characters are messed up. [2] shows the result after
> applying the patch.
> 
> The problem turned out to be code using an incorrect row increment when
> copying the bitmap. Note that the patch also affects the truetype font
> loader. I haven't tested this part, but the patched code should be
> functionally equivalent to the old code.
> 
> Also note that bug 354434 [3] seems to report the same problem. However,
> the bug was closed without taking any action, probably because it is
> likely to not show up when testing against a development tree. This was
> the case during my tests, the reason was that the loader couldn't find
> the T1 font and was falling back to bitmap fonts which are rendered
> correctly.

So, how can we reproduce the problem? I don't understand why is only
reproducible when testing against development tree. 

The patch doesn't apply correctly to current svn trunk. Could you update
the patch, please? Ah!, and please send it attached to the mail instead
of inline, so that it's easier to save and apply :-)

> Please CC me on replies, I'm not subscribed to the list.

Thank you very much. 

> Cheers,
> 
> Mattias
> 
> [1] http://www-user.rhrk.uni-kl.de/~nissler/tmp/evince_broken.png
> [2] http://www-user.rhrk.uni-kl.de/~nissler/tmp/evince_ok.png#
> [3] http://bugzilla.gnome.org/show_bug.cgi?id=354434


-- 
Carlos Garcia Campos
   elkalmail yahoo es
   carlosgc gnome org
   http://carlosgc.linups.org
PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x523E6462

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]