diff --git a/src/gui/Font.h b/src/gui/Font.h index bf37608..173a236 100644 --- a/src/gui/Font.h +++ b/src/gui/Font.h @@ -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())