public bool loadInternal() { _spriteFont = _fileHandle.loadFromContentManager <SpriteFont>(); _sharedFontGlyphLayout = newGlyphLayout(); _capHeight = _spriteFont.GetGlyphs()['A'].BoundsInTexture.Height; return(true); }
public bool loadInternal() { _fontName = _fileHandle.nameWithoutExtension(); _spriteFont = _fileHandle.loadFromContentManager <SpriteFont>(); _sharedFontGlyphLayout = newGlyphLayout(); _capHeight = _spriteFont.MeasureString("A").Y; return(true); }