mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 21:15:11 +00:00
actually consider locale script requirements
This commit is contained in:
parent
26020477cc
commit
40fdb004ec
1 changed files with 8 additions and 1 deletions
|
@ -6550,7 +6550,14 @@ void FurnaceGUI::applyUISettings(bool updateFonts) {
|
||||||
if (settings.loadFallback) {
|
if (settings.loadFallback) {
|
||||||
mainFont=addFontZlib(font_liberationSans_compressed_data,font_liberationSans_compressed_size,MAX(1,e->getConfInt("mainFontSize",18)*dpiScale),&fc1,fontRange);
|
mainFont=addFontZlib(font_liberationSans_compressed_data,font_liberationSans_compressed_size,MAX(1,e->getConfInt("mainFontSize",18)*dpiScale),&fc1,fontRange);
|
||||||
}
|
}
|
||||||
if (settings.loadJapanese || settings.loadChinese || settings.loadChineseTraditional || settings.loadKorean) {
|
if (settings.loadJapanese ||
|
||||||
|
settings.loadChinese ||
|
||||||
|
settings.loadChineseTraditional ||
|
||||||
|
settings.loadKorean ||
|
||||||
|
localeRequiresJapanese ||
|
||||||
|
localeRequiresChinese ||
|
||||||
|
localeRequiresChineseTrad ||
|
||||||
|
localeRequiresKorean) {
|
||||||
mainFont=addFontZlib(font_unifont_compressed_data,font_unifont_compressed_size,MAX(1,e->getConfInt("mainFontSize",18)*dpiScale),&fc1,fontRange);
|
mainFont=addFontZlib(font_unifont_compressed_data,font_unifont_compressed_size,MAX(1,e->getConfInt("mainFontSize",18)*dpiScale),&fc1,fontRange);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue