From: <sil...@li...> - 2004-11-08 22:28:34
|
Update of /cvsroot/silgraphite/silgraphite/contrib/pangomod In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17060 Modified Files: GrGraphics.cpp Log Message: BoundingY was more than a bit wrong hopefully this is fixed now Index: GrGraphics.cpp =================================================================== RCS file: /cvsroot/silgraphite/silgraphite/contrib/pangomod/GrGraphics.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- GrGraphics.cpp 25 Oct 2004 21:23:54 -0000 1.3 +++ GrGraphics.cpp 8 Nov 2004 22:28:20 -0000 1.4 @@ -225,7 +225,7 @@ *pxBoundingWidth = ink_rect.width/PANGO_SCALE; *pyBoundingHeight = ink_rect.height/PANGO_SCALE; *pxBoundingX = ink_rect.x/PANGO_SCALE; - *pyBoundingY = (ink_rect.y - *pyBoundingHeight)/PANGO_SCALE; + *pyBoundingY = -ink_rect.y/PANGO_SCALE; #endif #if 0 if (*pxAdvanceX != logical_rect.width/PANGO_SCALE) |