WerWolv / ImHex

🔍 A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM.
https://imhex.werwolv.net
GNU General Public License v2.0
37.43k stars 1.64k forks source link

[Bug] Fails to load font if it's selected directly from font picker #1727

Closed MineCake147E closed 4 weeks ago

MineCake147E commented 4 weeks ago

Operating System

Windows

What's the issue you encountered?

ImHex fails to load the font selected directly from font picker. image image While the exact same font file copied from logged path loads correctly if it's chosen from custom font path picker. image image The same happens with JetBrains Mono as well.

For your information, the logged font path is:

C:\Users\ちーず(・8・)けーき\AppData\Local\Microsoft\Windows\Fonts\UDEVGothicJPDOC-Regular.ttf

How can the issue be reproduced?

  1. Make sure that your user profile path contain one or more non-ASCII character (This might be important)
  2. Chose any font from font picker directly (not via custom font path option)
  3. Restart ImHex as it suggests
  4. See what happens

ImHex Version

1.33.2

ImHex Build Type

Installation type

MSI

Additional context?

MineCake147E commented 4 weeks ago

It's resolved in CI build from here. Thank you!