Skip to content

Commit

Permalink
win32u: HACK: Ignore font GASP flags for Alien Swarm Reactive Drop.
Browse files Browse the repository at this point in the history
CW-Bug-Id: #23776
  • Loading branch information
Paul Gofman committed May 10, 2024
1 parent 1c6fc73 commit cd0172f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dlls/win32u/freetype.c
Original file line number Diff line number Diff line change
Expand Up @@ -555,8 +555,11 @@ static BOOL is_hinting_enabled(void)

if (enabled == -1)
{
const char *sgi;

if ((sgi = getenv("SteamGameId")) && !strcmp(sgi, "563560")) enabled = FALSE;
/* Use the >= 2.2.0 function if available */
if (pFT_Get_TrueType_Engine_Type)
else if (pFT_Get_TrueType_Engine_Type)
{
FT_TrueTypeEngineType type = pFT_Get_TrueType_Engine_Type(library);
enabled = (type == FT_TRUETYPE_ENGINE_TYPE_PATENTED);
Expand Down

0 comments on commit cd0172f

Please sign in to comment.