fixed the overlapping text

svn-id: r3572
This commit is contained in:
Vincent Hamm 2002-02-13 07:02:49 +00:00
parent 4c97357df5
commit 60fd1db9c5

View file

@ -310,7 +310,10 @@ newLine:;
if (charset._center) {
charset._xpos2 -= charset.getStringWidth(0, buffer, 0)>>1;
}
charset._ypos2 += getResourceAddress(rtCharset,charset._curId)[30];
if(_features & GF_SMALL_HEADER)
charset._ypos2 += getResourceAddress(rtCharset,charset._curId)[18];
else
charset._ypos2 += getResourceAddress(rtCharset,charset._curId)[30];
charset._disableOffsX = 1;
continue;
}