When a text run is italicized the overhanging part of the last 
character of that run gets chopped off. In the past this only 
happened on screen, but since we now support background 
colours different than white, it now happens also while printing; this 
makes it a very serious bug -- the printout looks really crappy.

The flaw is in assuming in fp_TextRun::_draw that each run and 
any of its parts is contained in a rectangular region, which is not 
true for italicized text. In order to fix this bug, we will have to 
replace the _fillRect calls with _fillRegion call -- this will require new 
pure virtual fillRegion in GR_Graphics class, plus some additional 
changes to the xp font handling, so that the text run can determine 
the overhang of text in italics.

I will try to implement the xp stuff and the win32 and gtk versions of 
the pure virtuals over the weekend, and this is an advanced warning 
that the changes will break all other platforms.

Tomas

Reply via email to