### Eclipse Workspace Patch 1.0 #P processing-head Index: core/src/processing/core/PGraphics.java =================================================================== --- core/src/processing/core/PGraphics.java (revision 5693) +++ core/src/processing/core/PGraphics.java (working copy) @@ -3052,8 +3052,7 @@ protected void textLineAlignImpl(char buffer[], int start, int stop, float x, float y) { if (textAlign == CENTER) { - x -= textWidthImpl(buffer, start, stop) / 2f; - + x = PApplet.round(x - textWidthImpl(buffer, start, stop) / 2f); } else if (textAlign == RIGHT) { x -= textWidthImpl(buffer, start, stop); }