https://bugs.winehq.org/show_bug.cgi?id=50500
Bug ID: 50500 Summary: Counter Strike Source: Crashes at splash screen Product: Wine Version: 5.22 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: adel.khial@gmail.com Distribution: ---
A regression was introduced with wine-5.20; Game crashes at splash screen even if run directly with "wine hl2.exe -game cstrike".
Error code: 0024:err:font:alloc_font_handle out of realized font handles
Downgrading to wine-5.19 fixes the regression.
I haven't run a bisect yet but probably
[d7a54394d469480e4a5e7a8b3359f0e3b32515ac ] gdi32: Move the realized font handle allocation out of freetype.c.
is at fault.