https://bugs.winehq.org/show_bug.cgi?id=38060
Bug ID: 38060 Summary: Apps can't load custom fonts during runtime Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdi32 Assignee: wine-bugs@winehq.org Reporter: masterofquebec@rocksplash.com Distribution: Debian
Created attachment 50700 --> https://bugs.winehq.org/attachment.cgi?id=50700 WINEDEBUG=warn+all,fixme+all MTASA
Calls to AddFontResourceEx seems to fails in various games.
San Andreas Multiplayer: warn:font:new_ft_face Unable to load font "/home/samuel/.wine/dosdevices/c:/Program Files/Rockstar Games/GTA San Andreas/gtaweap3.ttf"/(nil) err = 2
Multi Theft Auto: warn:font:new_ft_face Unable to load font "/home/samuel/.wine/dosdevices/c:/Program Files/MTA San Andreas 1.4/MTA/cgui/pricedown.ttf"/(nil) err = 2
In both cases the fonts exist and seems to be valid.
What is error 2?