try setting the same font size yourself, like:
if ((language == "zh-chs") || (language == "zh-cn")) // Chinese (Simplified) - SimSun
{
m_StandardFont
= QFont(m_Fonts.
value(fntSimChinese
),
10,
QFont::Normal);
}
else if ((language == "zh-cht") || (language == "zh-tw")) // Chinese (Traditional) - Mingliu
{
m_StandardFont
= QFont(m_Fonts.
value(fntTradChinese
),
10,
QFont::Normal);
}
if ((language == "zh-chs") || (language == "zh-cn")) // Chinese (Simplified) - SimSun
{
m_StandardFont = QFont(m_Fonts.value(fntSimChinese), 10, QFont::Normal);
}
else if ((language == "zh-cht") || (language == "zh-tw")) // Chinese (Traditional) - Mingliu
{
m_StandardFont = QFont(m_Fonts.value(fntTradChinese), 10, QFont::Normal);
}
To copy to clipboard, switch view to plain text mode
Bookmarks