Jump to content
×
×
  • Create New...

Fix CS:Source fonts on Linux


Recommended Posts

  • Leader

Hey!

I've had problem with fonts in CS: Source on my new installed Ubuntu 20.04 all letters are smaller and thinner in chat.

For CSS just copie the font from Windows and configured it to be used. Now the chat font in Linux looks the same as Windows and is no longer difficult to read.
Copied vgasys.fon from C:\Windows\Fonts to $home/.steam/steam/steamapps/common/Counter-Strike Source/hl2/resource .

Edited chatscheme.res in the same directory.

Under "ChatFont",  locate the setting for the yres (vertical resolution) range I'm using (768 to 1023 or subsection "3" in my case). Changed the "name" from "Verdana" to "System".

 

		"ChatFont"
		{
			"1"
			{
				"name"		"Verdana"
				"tall"		"12"
				"weight"	"700"
				"yres"		"480 599"
				"dropshadow"	"1"
			}
			"2"
			{
				"name"		"Verdana"
				"tall"		"14"
				"weight"	"700"
				"yres"		"600 767"
				"dropshadow"	"1"
			}
			"3"
			{
				"name"		"System"
				"tall"		"15"
				"weight"	"700"
				"yres"		"768 1023"
				"dropshadow"	"1"
			}
			"4"
			{
				"name"		"Verdana"
				"tall"		"17"
				"weight"	"700"
				"yres"		"1024 1199"
				"dropshadow"	"1"
			}
			"5"
			{
				"name"		"Verdana"
				"tall"		"22"
				"weight"	"700"
				"yres"		"1200 10000"
				"dropshadow"	"1"
			}
		}

 

Under "CustomFontFiles", Add a new font, "3", set to "resource/vgasys.fon".

 

	CustomFontFiles
	{
		"1"		"resource/HALFLIFE2.ttf"
		"2"		"resource/HL2EP2.ttf"
		"3"		"resource/vgasys.fon"			
	}

 

Enjoy

vgasys.fon

  • Like 3
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now