Font operation bug? in Wine/Proton, returning family name expecting type name

Questions about Wine on Linux
Post Reply
AlexeySkywalker
Newbie
Newbie
Posts: 1
Joined: Sun Jun 08, 2025 8:33 am

Font operation bug? in Wine/Proton, returning family name expecting type name

Post by AlexeySkywalker »

Greetings

On Friday I was troubleshooting a Star Wars game, Empire at War, that simply had the problem of the game's font not showing up. After some digging I discovered in the game's log the following warning repeated several times:

Code: Select all

"WARNING: Asked for font EmpireAtWar-Medium, windows gave us font Empire At War Medium". 
After asking a dev and checking the font in FontForge, it turns out that while the game is technically receiving the correct font, its getting the family name of the font(Empire At War Medium), instead of typeface (EmpireAtWar-Medium). I edited the font to change the family name and the game proceeded to finally load the correct font.

I was about to dive into the wine's dlls in the proton source code looking for the "bug"(program/game asking with the font's name but getting the family font value in return) , but then I realized I should ask first just in case this is intended, instead of spending several hours/days in code I'm seeing for the first time ever.
User avatar
KenSharp
Level 4
Level 4
Posts: 149
Joined: Mon Jul 13, 2009 8:52 pm

Re: Font operation bug? in Wine/Proton, returning family name expecting type name

Post by KenSharp »

Or you could search for open bug reports.
Post Reply