Source-1-Games icon indicating copy to clipboard operation
Source-1-Games copied to clipboard

Left 4 Dead 2 doesn't bundle a Marlett equivilant font on Linux

Open munoida opened this issue 3 years ago • 9 comments

Great, I love it when I accidentally post without finishing the entire thing.

But yeah, title explains it all, doesn't ship with the marlett font preinstalled, (yet TF2 and CS:GO do, I've updated my game to include the Marlett font)

munoida avatar Jun 06 '22 01:06 munoida

And my system just in-case

Fedora Workstation 36 X11 NVIDIA GTX 1050Ti

munoida avatar Jun 06 '22 01:06 munoida

And as always, screenshots to prove this.

Without Marlett in the resource folder image

And with Marlett in the resource folder image

The resource folder in mind since there is multiple is Steam/steamapps/common/Left 4 Dead 2/left4dead2/resource

munoida avatar Jun 06 '22 01:06 munoida

Hello @Munoida,

All rights reserved copyright Microsoft (https://docs.microsoft.com/en-us/typography/font-list/marlett) -> "Apart from the document embedding rights described previously, you may not redistribute the Windows fonts. You may not copy them to other computers or servers, and you may not convert them to other formats, including bitmap formats, or modify them." (https://docs.microsoft.com/en-us/typography/fonts/font-faq)

This is not a legally viable feature request.

kisak-valve avatar Jun 06 '22 01:06 kisak-valve

Hello @Munoida,

All rights reserved copyright Microsoft (https://docs.microsoft.com/en-us/typography/font-list/marlett) -> "Apart from the document embedding rights described previously, you may not redistribute the Windows fonts. You may not copy them to other computers or servers, and you may not convert them to other formats, including bitmap formats, or modify them." (https://docs.microsoft.com/en-us/typography/fonts/font-faq)

This is not a legally viable feature request.

Okay, just wanted to make sure, as I saw them in other source games (in-fact, I copied the marlett font straight from CS:GO,) then would it be planned to change in the future to instead of using marlett to use Valve-owned bitmap fonts?

munoida avatar Jun 06 '22 01:06 munoida

Re-evaluating this feature request, Marlett font is not legally viable, but that's not what's being used in various Source games and the Steam client. Instead, the near-match replacement font created by TransGaming for wine is being bundled in various places and we can ponder bundling that with Left 4 Dead 2 as well.

kisak-valve avatar Jun 06 '22 14:06 kisak-valve

Re-evaluating this feature request, Marlett font is not legally viable, but that's not what's being used in various Source games and the Steam client. Instead, the near-match replacement font created by TransGaming for wine is being bundled in various places and we can ponder bundling that with Left 4 Dead 2 as well.

Oh interesting, that'd be cool!

munoida avatar Jun 17 '22 14:06 munoida

Reopening this, the Marlett replacement is in Left 4 Dead, but Left 4 Dead tries to look for it in hl2/resource/ and not /platform/vgui/fonts/

So, workaround is having it look like Left 4 Dead 2/hl2/resource/marlett.ttf instead of Left 4 Dead 2/platform/vgui/fonts/marlett.ttf

You could probably just drop the fonts in the hl2/resource folder or if you want dont want to move any of the files you could also just shove the search path to the new path instead of the old path.

munoida avatar Jan 03 '23 06:01 munoida

This is a duplicate of https://github.com/ValveSoftware/Source-1-Games/issues/554. It's a different issue (the other user is talking about achievements), but the cause is the same.

Tiagoquix avatar Feb 22 '25 03:02 Tiagoquix

(Tested on Linux Mint 22.1, with Valve's official Steam .deb file)

It seems shoving the Marlett font pre-bundled with Left 4 Dead 2, that is in the wrong location Left 4 Dead 2/platform/vgui, compared to where it loads fonts from Left 4 Dead 2/hl2/resource doesn't seem to work anymore. It only goes invisible and throws CreateFromMemory - Font Marlett has no valid charmap in the console.

Image

Image

Though, using the Half Life 2 bundled version of Marlett works. Image

Also, I noticed the one bundled with Left 4 Dead 2 is 22kb, whilst Half Life 2's was only 6kb.

munoida avatar May 30 '25 19:05 munoida