Skip to content

Commit

Permalink
Fixed oversized context menu font
Browse files Browse the repository at this point in the history
  • Loading branch information
CriticalFlaw committed Oct 11, 2024
1 parent 96010f2 commit 4188bde
Show file tree
Hide file tree
Showing 2 changed files with 95 additions and 32 deletions.
79 changes: 54 additions & 25 deletions resource/scheme/clientscheme_fonts.res
Original file line number Diff line number Diff line change
Expand Up @@ -514,13 +514,14 @@ Scheme
"antialias" "1"
}
}

"HudFontGiant"
{
"1"
{
"name" "TF2 Secondary"
"tall" "24"
"tall_lodef" "80"
"weight" "500"
"additive" "0"
"antialias" "1"
Expand All @@ -530,6 +531,7 @@ Scheme
{
"name" "TF2 Secondary"
"tall" "32"
"tall_hidef" "120"
"weight" "500"
"additive" "0"
"antialias" "1"
Expand All @@ -550,7 +552,7 @@ Scheme
"tall" "48"
"weight" "500"
"additive" "0"
"antialias" "1"
"antialias" "1"
"yres" "1024 1199"
}
"5"
Expand All @@ -559,42 +561,49 @@ Scheme
"tall" "24"
"weight" "500"
"additive" "0"
"antialias" "1"
"antialias" "1"
}
}

"HudFontGiantBold"
{
"1"
{
"name" "TF2 Secondary"
"name" "TF2 Build"
"tall" "44"
"tall_lodef" "52"
"weight" "500"
"additive" "0"
"antialias" "1"
"antialias" "1"
}
}

"HudFontBiggerBold"
{
"1"
{
"name" "TF2 Secondary"
"name" "TF2 Build"
"tall" "35"
"tall_lodef" "40"
"weight" "500"
"additive" "0"
"antialias" "1"
}
}

"HudFontBig"
{
"1"
{
"name" "TF2 Secondary"
"tall" "36"
"tall_hidef" "48"
"weight" "500"
"additive" "0"
"antialias" "1"
"antialias" "1"
}
}

"HudFontMediumBig"
{
"1"
Expand All @@ -606,37 +615,42 @@ Scheme
"antialias" "1"
}
}

"HudFontMediumBigBold"
{
"1"
{
"name" "TF2 Secondary"
"name" "TF2 Build"
"tall" "30"
"weight" "500"
"additive" "0"
"antialias" "1"
}
}

"HudFontMedium"
{
"1"
{
"name" "TF2 Secondary"
"tall" "24"
"tall_lodef" "28"
"weight" "500"
"additive" "0"
"antialias" "1"
}
}

"HudFontMediumSecondary"
{
"1"
{
"name" "TF2 Secondary"
"tall" "24"
"weight" "500"
"yres" "1 1199"
"additive" "0"
"antialias" "1"
"antialias" "1"
}
"2"
{
Expand All @@ -647,6 +661,7 @@ Scheme
"antialias" "1"
}
}

"HudFontMediumBold"
{
"1"
Expand All @@ -655,9 +670,10 @@ Scheme
"tall" "24"
"weight" "500"
"additive" "0"
"antialias" "1"
"antialias" "1"
}
}

"HudFontMediumSmallBold"
{
"1"
Expand All @@ -666,76 +682,88 @@ Scheme
"tall" "18"
"weight" "500"
"additive" "0"
"antialias" "1"
"antialias" "1"
}
}

"HudFontMediumSmall"
{
"1"
{
"name" "TF2 Secondary"
"tall" "18"
"tall_hidef" "24"
"tall_lodef" "18"
"weight" "500"
"additive" "0"
"antialias" "1"
"antialias" "1"
}
}

"HudFontMediumSmallSecondary"
{
"1"
{
"name" "TF2 Secondary"
"tall" "18"
"tall_hidef" "24"
"tall_lodef" "20"
"weight" "500"
"additive" "0"
"antialias" "1"
"antialias" "1"
}
}

"HudFontSmall"
{
"1"
{
"name" "TF2 Secondary"
"tall" "14"
"tall_lodef" "16"
"weight" "500"
"additive" "0"
"antialias" "1"
"antialias" "1"
}
}

"HudFontSmallishBold"
{
"1"
{
"name" "TF2 Secondary"
"name" "TF2 Build"
"tall" "16"
"weight" "500"
"additive" "0"
"antialias" "1"
"antialias" "1"
}
}

"HudFontSmallBold"
{
"1"
{
"name" "TF2 Secondary"
"name" "TF2 Build"
"tall" "14"
"weight" "500"
"additive" "0"
"antialias" "1"
"antialias" "1"
}
}

"HudFontSmallBoldShadow"
{
"1"
{
"name" "TF2 Secondary"
"name" "TF2 Build"
"tall" "14"
"weight" "500"
"additive" "0"
"antialias" "1"
"antialias" "1"
"dropshadow" "1"
}
}

"HudFontSmallest"
{
"1"
Expand All @@ -744,9 +772,10 @@ Scheme
"tall" "11"
"weight" "500"
"additive" "0"
"antialias" "1"
"antialias" "1"
}
}

"HudFontSmallestShadow"
{
"1"
Expand All @@ -755,19 +784,20 @@ Scheme
"tall" "11"
"weight" "500"
"additive" "0"
"antialias" "1"
"antialias" "1"
"dropshadow" "1"
}
}

"HudFontSmallestBold"
{
"1"
{
"name" "TF2 Secondary"
"name" "TF2 Build"
"tall" "11"
"weight" "500"
"additive" "0"
"antialias" "1"
"antialias" "1"
}
}

Expand Down Expand Up @@ -2711,7 +2741,6 @@ Scheme
// For TF2: Any special character will need to be added to our font file
CustomFontFiles
{

"1" "resource/tf.ttf"
"2" "resource/tfd.ttf"
"3"
Expand Down
Loading

0 comments on commit 4188bde

Please sign in to comment.