Merge "Issue #2189 Set size properly on GLFont" into development

Former-commit-id: fc5c8fe510 [formerly 951484545a] [formerly 30c92f3fc7] [formerly 196f5f4a5d [formerly 30c92f3fc7 [formerly 7f7762b889e7b86231f22abb89dd94d630c0d291]]]
Former-commit-id: 196f5f4a5d
Former-commit-id: 435dcb24e4fa3b4b4a8e2c90d6f0485a3757375d [formerly 8ba5944134]
Former-commit-id: 44bcd7145d
This commit is contained in:
Richard Peter 2013-07-26 14:34:46 -05:00 committed by Gerrit Code Review
commit b40512d805

View file

@ -64,13 +64,13 @@ public class GLFont extends AbstractAWTFont implements IGLFont {
super(font, type, fontSize, styles);
this.fontFile = font;
this.fontType = type;
this.fontSize = fontSize;
this.currentFontSize = this.fontSize = fontSize;
this.textRenderer = TextRendererCache.getRenderer(this.font);
}
public GLFont(String fontName, float fontSize, Style[] styles) {
super(fontName, fontSize, styles);
this.fontSize = fontSize;
this.currentFontSize = this.fontSize = fontSize;
this.textRenderer = TextRendererCache.getRenderer(this.font);
}