fix: "Load all unicode glyphs" setting not working
This commit is contained in:
parent
43f1cc7bd0
commit
10217b5530
@ -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
|
// 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."
|
// The Mesa3D software renderer on Windows identifies itself as "VMware, Inc."
|
||||||
bool shouldLoadUnicode =
|
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.";
|
ImHexApi::System::getGPUVendor() != "VMware, Inc.";
|
||||||
|
|
||||||
return loadFontsImpl(shouldLoadUnicode);
|
return loadFontsImpl(shouldLoadUnicode);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user