[Portal] Font size of credits cuts off ascii art
I believe after the Steam Deck update, the credits to Portal 1 have a larger than intended font size which cuts off the ascii art that appears in the bottom right.
Before

After

Until an official fix is available, here's how to fix this temporarily: https://steamcommunity.com/app/400/discussions/0/3187991194507872427/
I also wrote a python script that does this (currently just for Windows, but should be easy to make it work for Linux), as well as increase the subtitle size which was also changed in the update.
https://github.com/sigmagamma/portal-text-size-changer
Assuming the new size was intended for the Steam Deck UI, it can be modified to apply only to that by finding resource/clientscheme.res inside of portal_pak_dir.vpk and modifying a few values under CreditsOutroText on line 779
It should look like this:
CreditsOutroText
{
"1"
{
"name" "Courier New" [!$OSX]
"name" "Courier Bold" [$OSX]
"tall" "16"
"weight" "900"
"antialias" "1"
}
}
Prior to the update, we can see that this section formerly contained the following:
CreditsOutroText
{
"1"
{
"name" "Courier New" [!$OSX]
"name" "Courier Bold" [$OSX]
"tall" "12" [!$OSX]
"tall" "11" [$OSX]
"weight" "900"
"antialias" "1"
}
}
As shown, Windows and Linux formerly used a size of 12 for the fonts, while Mac formerly used a size of 11 for the fonts. To incorporate this back into the game, we simply have to note that 16 is for the Steam Deck and append the other two values.
CreditsOutroText
{
"1"
{
"name" "Courier New" [!$OSX]
"name" "Courier Bold" [$OSX]
"tall" "16" [$DECK]
"tall" "12" [!$OSX]
"tall" "11" [$OSX]
"weight" "900"
"antialias" "1"
}
}
Because the Steam Deck value is listed first, it will be applied to those playing using the Steam Deck UI. If that UI is not enabled, it is ignored in favor of the next value. This is what's applied on Linux and Windows. Macs ignore this as well because it explicitly states that it is not for Mac and uses the next value.
Note that the bottom of the ASCII art may still be cropped off a little in widescreen resolutions. However, this is an issue that has existed for as long as the game has been out. This solution merely makes it so the new size and any issues that come with it only affects those using the Steam Deck UI as opposed to the entire player base.
What is the font for the credits anyway? As in the font that looks like its straight from BIOS