public bool GetGlyphData(char glyph, out GlyphData data) { int glyphId = (int)glyph; if (glyphId >= CharLookup.Length) { data = this.glyphs[0]; return false; } else { data = this.glyphs[CharLookup[glyphId]]; return true; } }