{\r
sx = (group.getStartRes() - startx) * av.charWidth;\r
sy = offset + AlignmentUtil.getPixelHeight(starty, i, av.charHeight);\r
- ex = (group.getEndRes() + 1 - group.getStartRes()) * av.charWidth;\r
+ ex = (group.getEndRes() + 1 - group.getStartRes()) * av.charWidth -1;\r
\r
if (av.getWrapAlignment())\r
{\r
sx = 0;\r
\r
if (ex > getWidth())\r
- {\r
- if (av.getWrapAlignment())\r
ex = getWrappedCanvasWidth(getWidth()) * av.charWidth;\r
-\r
- }\r
}\r
- else if(ex>getWidth())\r
- ex -= av.charWidth;\r
-\r
\r
if (sx < getWidth()\r
&& ex > 0\r