Open jorgenpt opened 11 years ago
@johndrinkwater posted at 2013-01-15T12:14:22Z:
Its even harder to read chat when the chat box is not open, as it blends into the game visuals http://i47.tinypic.com/1z4ihir.png
This also applies to CS:Source.
Yeah, the font size is too small in the Linux version. Having the right font doesn't even matter that much.
Not only a source engine problem.
This exists in Half-Life and CS 1.6 as well.
DoD:S has this the worst (without exception), with green and red text on desert yellow.
Source needs to be asking for fonts with heavier weights
Bitstream Vera Sans is freely distributable as far as I know, and it's very close to Verdana.
@ziggythehamster it is indeed. I tried removing verdana font at all, the font was different, but still as hard to read as before.
Here is a zoomed in comparison image
I think the shadow behind the text is the biggest problem as you can see in that image. Look closely inside the "e" and "o" characters for example. On linux there is almost no shadow, without a shadow the text blends in with the game scene too much making it hard to read.
Additionally the text on windows also seems to be a bit thicker, as is most apparent in the letter "H" in my image (even though the shadow seems to appear perfectly for H)
Hello, is this still an issue on up to date systems?
Yes, just tested on CS:Source. Text is completely unreadable under certain situations, like the floor on de_dust2.
Just thought I'd mention here that someone found a workaround: http://steamcommunity.com/app/221410/discussions/0/618457398964472446/?ctp=2 I'll quote the specific post here:
For CSS I just copied the font from my Windows install 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", I located 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".
Under "CustomFontFiles", I added a new font, "3", set to "resource/vgasys.fon".
I also got it to work on CS1.6, but I can't remember if I did anything to config files. I have "vgasys.fon" in my cstrike/resource directory though.
@kisak-valve This issue still persists, at least in my Elementary OS 0.4 freya inside Team Fortress 2.
I have microsoft fonts installed.
It's kind of annoying that this issue is 3 years old already and haven't been fixed yet.
Regardless of what's causing this, it's clear that the game renders any fonts that are bundled with the game just fine. My recommendation is to find a good, easy-to-read, generic font that's either free to use or that you can justify licensing, and retool the game to always use that instead. The game has changed so much in 10 years that changing one of its three fonts won't matter to anyone.
Font is still really small but I don't know if this is a font issue. I have verdana loaded as you can see. Maybe I need to tweak DPI in my graphics settings
No, it's definitely an issue with the game. I think maybe it's unable to access /usr/share/fonts/ or something, because thus far we've seen no evidence of a Source game correctly accessing a font not embedded into the game files somewhere.
what about launching thw game with sudo? or changing /usr/share/fonts permissions?
Did anyone find a solution?
Installing/writing a custom hud that change the font/size of the font would probably fix the issue temporarily.
Unfortunately different fonts are totally ignored in the .res files, it will always use "DejaVu Sans" on Linux, this is at least valid for CS:S.
As to this day, this problem still persists, tested on Arch Linux 5.11.7-arch-1-1
Did anyone find a solution?
I installed the ttf-ms-fonts and solved for me
Replying to https://github.com/ValveSoftware/Source-1-Games/issues/67#issuecomment-853830017
Really? 😳 Where did you download them?
Replying to #67 (comment)
Really? flushed Where did you download them?
I downloaded from the chaotic repository, in my case i'm using Manjaro(Arch Linux Derivate). In the Debian derivates like Ubuntu, the package calls "ttf-mscorefonts-installer". I hope this can help
Going to update here, that this issue still exists (tested on many distros, currently on EndeavourOS (Arch)). Installing the proper Microsoft fonts doesn't seem to do anything for me. It makes text in HUDs pretty difficult to read
Are there any updates on that issue? Even the game gets a Playable rating because of that on the Deck.
Some in-game text is small and may be difficult to read
Replying to https://github.com/ValveSoftware/Source-1-Games/issues/67#issuecomment-853830017
But why did you have to position the camera so that the text is over one of the darkest objects on that entire map? Is it because if you put the yellow text over any other texture on that yellow map it's difficult to read? That's the entire problem. On windows you can easily read the text no matter what background it appears over.
I think the problem here is 90% about the shadow behind the text. In the comparison image from @Staysys it's clear that the windows text shadow is solid (there are no transparent parts of the shadow, it's all solid black), while the shadow on linux is not solid black in many places like if transparency is enabled.
If Valve would just disable the transparency from the text shadow it would probably make it MUCH more readable, like on windows. Then the remaining 10% of the problem is the font rendering itself, which looks much thinner and smaller than the windows one. But that's less of an issue if I can at least read the text with a proper shadow.
EDIT: Looking again at the comparison image from @Staysys it seems even the text itself is transparent. It's easiest to see that on the red "o". The windows o is monochromatic, while the linux o has different colors at the edges.
Adding to https://github.com/ValveSoftware/Source-1-Games/issues/67#issuecomment-18576014, It seems like the limitation is not the OS itself.
Native | Native + font patch | Proton |
---|---|---|
I haven't yet checked what is the difference between Proton and native regarding this issue. if anyone is willing to find out it'll be appreciated; due to VAC not working under Proton this "solution" is rather useless.
I was having the same issue with console and community server browser, the text was small and unreadble, and was happening on all source games. Before I switched to EndavourOS from LinuxMint 20.3 I backup everything including fonts, so I found out the problem was with some Microsoft fonts that I didn't had on EndeavourOS, and as mentioned by this comment.
The probable solution for Debian is to install ttf-mscorefonts-installer
(or https://launchpad.net/ubuntu/+source/msttcorefonts for Ubuntu)
For arch users try to install the AUR package ttf-ms-fonts
For RHEL users or for other users or if it didn't work for you, follow this guide http://corefonts.sourceforge.net/
It seems like all font issues have been fixed in the x64 beta. I tested without any UI tweaks or replacing WenQuanYiZenHei (hard-coded last-resort fallback font on Linux), all of these seem to be fixed:
How old is that beta? This is the first I've heard of it, and to my knowledge it's the only Source 1 game to have a 64 bit version publicly available since they scrapped the one for Half-Life 2 over a decade ago.
How old is that beta? This is the first I've heard of it, and to my knowledge it's the only Source 1 game to have a 64 bit version publicly available since they scrapped the one for Half-Life 2 over a decade ago.
x64_linux_test
is only a few days old. It feels a lot like the Half-Life 2 and Portal 2 upgrades we got some time ago, since it ships with DXVK native instead of ToGL and has some additional fixes.
For now it can only be used for testing, but eventually it will land on public branch for Linux and Windows (haven't heard a mention of macOS though).
Neat. And now I'm just realizing I don't actually know if the DXVK updates to other games were 64-bit or not. I feel like there would have been some information to that effect if they were.
Although the text definitely looks a LOT better in the new 64-bit version, the text shadow is still not rendering correctly as shown here: https://github.com/ValveSoftware/Source-1-Games/issues/67#issuecomment-18576014
Granted even without a proper shadow the text is much more readable now, but the shadow still helps in certain situations like when the chat window is over a bright texture.
EDIT: Adding a new pic to show what I'm talking about Notice how the shadow almost seems to not touch the text, there's a gap between the text and the shadow. Almost like it's 1 pixel off. Also the shadow varies in intensity a lot. On windows it's a solid black without any other shades of gray.
Can confirm the text shadow doesn't render correctly on Linux. On Windows, it looks fine.
Issue transferred from ValveSoftware/steam-for-linux#578 @artixlight posted at 2013-01-07T05:11:45Z:
When typing text in-game for TF2, the fonts looked squished and it was hard to read. On searching the internet, I found this tutorial: http://www.dodbits.com/dods/index.php/source-graphics/source-gui-hud-tutorials/19-chat-area-in-hl2-games
Browsing through the SteamApps directory, I copied the file Multiplayer OB Linux Binaries.gcf to a Windows machine and used GCFScape to extract ChatScheme.res file.
When the .res file was opened, under FONTS section, I found that it uses Verdana fonts. This font comes pre-installed on Windows machine but not on Linux distributions as it was optional and was copyrighted by Microsoft. One could install the required fonts in order for the chat text to appear as it would in Windows version of TF2. This issue was previously reported in steamcommunity.com: http://steamcommunity.com/app/221410/discussions/0/846939071403952294/
Attached is the comparison between 2 different fonts rendering for the in-game chat system. Open both in full resolutions and compare them side-by-side:
Steps to reproduce the issue:
Suggested solutions:
System information: