1
0
mirror of synced 2024-11-28 01:20:51 +01:00

fix: "Load all unicode glyphs" setting not working

This commit is contained in:
WerWolv 2023-11-14 21:12:09 +01:00
parent 43f1cc7bd0
commit 10217b5530

View File

@ -335,7 +335,7 @@ namespace hex::init {
// Check if unicode support is enabled in the settings and that the user doesn't use the No GPU version on Windows
// The Mesa3D software renderer on Windows identifies itself as "VMware, Inc."
bool shouldLoadUnicode =
ContentRegistry::Settings::read("hex.builtin.setting.general", "hex.builtin.setting.font.load_all_unicode_chars", false) &&
ContentRegistry::Settings::read("hex.builtin.setting.font", "hex.builtin.setting.font.load_all_unicode_chars", false) &&
ImHexApi::System::getGPUVendor() != "VMware, Inc.";
return loadFontsImpl(shouldLoadUnicode);