Fixes issue where the maxDimensions wasn't being updated when the scale function was run.
@@ -116,6 +116,8 @@ public class Font {
for (final Map.Entry<Integer, FontCharacter> entry : fontCharacters.entrySet()) {
entry.getValue().resizeImage(scaleWidth, scaleHeight);
}
+
+ maxDimensions.setSize(maxDimensions.getWidth() * scaleWidth, maxDimensions.getHeight() * scaleHeight);
}
/**
