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

Former-commit-id: 7f7762b889e7b86231f22abb89dd94d630c0d291
This commit is contained in:
Richard Peter 2013-07-26 14:34:46 -05:00 committed by Gerrit Code Review
commit 196f5f4a5d

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);
}