Merge "Issue #2189 Set size properly on GLFont" into development
Former-commit-id:951484545a
[formerly30c92f3fc7
] [formerly196f5f4a5d
[formerly 7f7762b889e7b86231f22abb89dd94d630c0d291]] Former-commit-id:196f5f4a5d
Former-commit-id:8ba5944134
This commit is contained in:
commit
44bcd7145d
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue