rename Font::operator[]() to Font::get_glyph()

This commit is contained in:
Josh Holtrop 2014-06-23 16:23:40 -04:00
parent d7f7dbdc28
commit 5403d13f6a

View File

@ -45,7 +45,7 @@ namespace jes
int get_line_height() { return m_line_height; }
int get_advance() { return m_advance; }
int get_baseline_offset() { return m_baseline_offset; }
GlyphRef operator[](FT_ULong char_code)
GlyphRef get_glyph(FT_ULong char_code)
{
auto it = m_glyphs.find(char_code);
if (it != m_glyphs.end())