add IBM Plex Sans Japanese/Korean
This commit is contained in:
parent
40fdb004ec
commit
c9669f32ad
14 changed files with 190307 additions and 10724 deletions
|
|
@ -6546,10 +6546,7 @@ void FurnaceGUI::applyUISettings(bool updateFonts) {
|
|||
}
|
||||
}
|
||||
|
||||
// two fallback fonts
|
||||
if (settings.loadFallback) {
|
||||
mainFont=addFontZlib(font_liberationSans_compressed_data,font_liberationSans_compressed_size,MAX(1,e->getConfInt("mainFontSize",18)*dpiScale),&fc1,fontRange);
|
||||
}
|
||||
// four fallback fonts
|
||||
if (settings.loadJapanese ||
|
||||
settings.loadChinese ||
|
||||
settings.loadChineseTraditional ||
|
||||
|
|
@ -6557,7 +6554,11 @@ void FurnaceGUI::applyUISettings(bool updateFonts) {
|
|||
localeRequiresJapanese ||
|
||||
localeRequiresChinese ||
|
||||
localeRequiresChineseTrad ||
|
||||
localeRequiresKorean) {
|
||||
localeRequiresKorean ||
|
||||
settings.loadFallback) {
|
||||
mainFont=addFontZlib(font_plexSans_compressed_data,font_plexSans_compressed_size,MAX(1,e->getConfInt("mainFontSize",18)*dpiScale),&fc1,fontRange);
|
||||
mainFont=addFontZlib(font_plexSansJP_compressed_data,font_plexSansJP_compressed_size,MAX(1,e->getConfInt("mainFontSize",18)*dpiScale),&fc1,fontRange);
|
||||
mainFont=addFontZlib(font_plexSansKR_compressed_data,font_plexSansKR_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…
Add table
Add a link
Reference in a new issue