Jump to content

Fix CS:Source fonts chat for Linux


cmer
 Share

Recommended Posts

  • Technical Administrator

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"			
	}

 

vgasys.fon ?
https://drive.google.com/file/d/1p_dUYa20fiE5xzOiRPGTK3goQkRBq25E/view?usp=sharing

Enjoy

  • Like 4
  • Thanks 1
Link to comment
Share on other sites

  • Killik featured and pinned this topic
  • 2 months later...
  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...