unsigned int font_size=FONT_SIZE_UNSPECIFIED,
FontMode mode=FM_Unspecified)
{
- return getTextWidth(narrow_to_wide(text));
+ return getTextWidth(utf8_to_wide(text));
}
/** get text width if a text for a specific font */
m_settings(NULL),
m_env(NULL),
m_font_cache(),
- m_default_size(),
m_currentMode(FM_Standard),
m_lastMode(),
m_lastSize(0),