public LSTRFont(LFont font, bool anti, char[] additionalChars) { if (displays == null) { displays = new System.Collections.Generic.Dictionary <string, Loon.Core.Graphics.Opengl.LTextureBatch.GLCache>(totalCharSet); } else { displays.Clear(); } this.useCache = true; this.font = font; this.fontSize = font.GetSize(); this.ascent = font.GetAscent(); this.antiAlias = anti; if (antiAlias) { if (trueFont == null) { trueFont = LFont.GetTrueFont(); } if (additionalChars != null && additionalChars.Length > (textureWidth / trueFont.GetSize())) { this.textureWidth *= 2; this.textureHeight *= 2; } this.fontScale = (float)fontSize / (float)trueFont.GetSize(); this.Make(trueFont, additionalChars); } else { this.Make(this.font, additionalChars); } }