int charOffset = 0;\r
char s;\r
\r
+ float fwidth = width + ((float)av.charWidth/(float)width)/width;\r
+\r
+\r
+ if(av.charWidth != (av.charWidth/width)*width)\r
+ {\r
+\r
+ }\r
+\r
// Need to find the sequence position here.\r
String sequence = seq.getSequence();\r
\r
\r
charOffset = (width - fm.charWidth(s)) / 2;\r
graphics.drawString(String.valueOf(s),\r
- charOffset + x1 + (width * (i - start)), (y1 + height) - pady);\r
+ charOffset + x1 + (int)(fwidth * (i - start)), (y1 + height) - pady);\r
}\r
}\r
\r