3
0
Fork 0
forked from suyu/suyu
suyu/src/yuzu
Kyle Kienapfel 1dba5fab62 Qt: work around Qt5's font choice for Chinese
On Windows there are currently two fonts used.

The first, does the Menu, QTreeView and Tooltips
Second is Everything else which is a default font.

From inspecting QApplication::font() at runtime
Windows 10 English: QFont(MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0)
Windows 11 Japanese:        MS UI Gothic,9   ,-1,5,50,0,0,0,0,0
Windows 11 Traditional Chinese: PMingLiU,9   ,-1,5,50,0,0,0,0,0
Windows 11 Simplified Chinese:    SimSun,9   ,-1,5,50,0,0,0,0,0
Windows 11 Korean:                 Gulim,9   ,-1,5,50,0,0,0,0,0

I initially investigated dynamically changing the font when
the UI language is English, but this was getting quite messy

Qt6 makes changes to default font in some situations, so this
PR is being narrowed in scope to only effect Chinese font choices.
This change only effects rendering of Latin/Cyrillic characters.
2022-10-01 15:27:23 -07:00
..
applets yuzu: Silence some clang warnings 2022-09-21 11:51:31 -05:00
configuration Merge pull request #8940 from german77/silence 2022-09-28 14:37:23 -07:00
debugger chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
multiplayer fix black icon 2022-09-10 18:56:06 -05:00
util chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
about_dialog.cpp about dialog: Fix the logo in a multiplatform way 2022-05-16 05:42:38 -07:00
about_dialog.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
aboutdialog.ui Qt: tweak ui files 2022-08-09 05:00:37 -07:00
bootmanager.cpp yuzu: Force camera output to be saved on a buffer (#8805) 2022-08-22 23:54:48 -05:00
bootmanager.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
CMakeLists.txt mini_dump: Address review feedback 2022-09-04 21:36:35 -04:00
compatdb.cpp chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
compatdb.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
compatdb.ui ui: Fix Game Compatibility list translations 2022-04-16 16:30:45 -07:00
compatibility_list.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
compatibility_list.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
discord.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
discord_impl.cpp chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
discord_impl.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
game_list.cpp Qt: Retranslate GameList header and Filter line 2022-08-20 07:49:29 -07:00
game_list.h Qt: Retranslate GameList header and Filter line 2022-08-20 07:49:29 -07:00
game_list_p.h Qt: Retranslate GameList header and Filter line 2022-08-20 07:49:29 -07:00
game_list_worker.cpp game_list: Eliminate variable shadowing 2022-06-14 08:30:07 -04:00
game_list_worker.h game_list: Eliminate variable shadowing 2022-06-14 08:30:07 -04:00
hotkeys.cpp chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
hotkeys.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
Info.plist chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
install_dialog.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
install_dialog.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
loading_screen.cpp qt: reset progress bar after shader compilation 2022-07-24 13:35:44 -04:00
loading_screen.h Update some files with Qt 5.15.2 best practices in mind 2022-05-29 09:21:52 -07:00
loading_screen.ui
main.cpp Qt: work around Qt5's font choice for Chinese 2022-10-01 15:27:23 -07:00
main.h Merge pull request #8876 from FearlessTobi/multiplayer-part3 2022-10-01 14:53:36 -07:00
main.ui Address some review comments 2022-09-20 19:36:32 +02:00
mini_dump.cpp mini_dump: Address review feedback 2022-09-04 21:36:35 -04:00
mini_dump.h mini_dump: Address review feedback 2022-09-04 21:36:35 -04:00
startup_checks.cpp yuzu qt: Add option to disable startup Vulkan check 2022-09-19 14:46:12 -04:00
startup_checks.h yuzu qt: Add option to disable startup Vulkan check 2022-09-19 14:46:12 -04:00
uisettings.cpp chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
uisettings.h yuzu: Multiple room UI improvements 2022-09-10 19:39:25 +02:00
yuzu.qrc chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
yuzu.rc chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00