mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-19 08:25:47 -04:00
Register more glyph ranges supported by Roboto
Adds support for Polish, makes Russian use a default font
This commit is contained in:
@ -1442,12 +1442,6 @@ static bool AddImGuiFont(const std::string& language, float size, float framebuf
|
||||
path = GetFontPath("msgothic.ttc");
|
||||
range = ImGui::GetIO().Fonts->GetGlyphRangesJapanese();
|
||||
}
|
||||
else if (language == "ru")
|
||||
{
|
||||
path = GetFontPath("segoeui.ttf");
|
||||
range = ImGui::GetIO().Fonts->GetGlyphRangesCyrillic();
|
||||
size *= 1.15f;
|
||||
}
|
||||
else if (language == "zh-cn")
|
||||
{
|
||||
path = GetFontPath("msyh.ttc");
|
||||
|
Reference in New Issue
Block a user