|
|
@ -244,7 +244,7 @@ public class BitmapFont implements Savable { |
|
|
|
if (i == text.length() - 1) { |
|
|
|
if (i == text.length() - 1) { |
|
|
|
lineWidth += c.getWidth() * sizeScale; |
|
|
|
lineWidth += c.getWidth() * sizeScale; |
|
|
|
|
|
|
|
|
|
|
|
// Since theh width includes the xOffset then we need
|
|
|
|
// Since the width includes the xOffset then we need
|
|
|
|
// to take it out again by adding it, ie: offset the width
|
|
|
|
// to take it out again by adding it, ie: offset the width
|
|
|
|
// we just added by the appropriate amount.
|
|
|
|
// we just added by the appropriate amount.
|
|
|
|
lineWidth += c.getXOffset() * sizeScale; |
|
|
|
lineWidth += c.getXOffset() * sizeScale; |
|
|
|