Skip to content

Commit

Permalink
Try setting default value for problem font entries for non-Windows (#579
Browse files Browse the repository at this point in the history
)
  • Loading branch information
rbjaxter committed Jan 18, 2025
1 parent b6f1555 commit 9508eb5
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 16 deletions.
30 changes: 20 additions & 10 deletions _budhud/resource/chatscheme.res
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@

"1"
{
"name" "Lato Semibold"
"name" "Lato Semibold" [!$POSIX]
"name" "Verdana" [$POSIX]
"tall" "15"
"weight" "500"
"yres" "480 599"
Expand All @@ -34,7 +35,8 @@

"2"
{
"name" "Lato Semibold"
"name" "Lato Semibold" [!$POSIX]
"name" "Verdana" [$POSIX]
"tall" "17"
"weight" "500"
"yres" "600 767"
Expand All @@ -43,7 +45,8 @@

"3"
{
"name" "Lato Semibold"
"name" "Lato Semibold" [!$POSIX]
"name" "Verdana" [$POSIX]
"tall" "18"
"weight" "500"
"yres" "768 1023"
Expand All @@ -52,7 +55,8 @@

"4"
{
"name" "Lato Semibold"
"name" "Lato Semibold" [!$POSIX]
"name" "Verdana" [$POSIX]
"tall" "20"
"weight" "500"
"yres" "1024 1199"
Expand All @@ -61,7 +65,8 @@

"5" // my understanding could be wrong, but the instant you go over 4's yres max (1199), it uses this font and it scales proportionally
{
"name" "Lato Semibold"
"name" "Lato Semibold" [!$POSIX]
"name" "Verdana" [$POSIX]
"tall" "9"
"weight" "500"
"antialias" "1"
Expand All @@ -72,7 +77,8 @@
{
"1"
{
"name" "Lato Semibold"
"name" "Lato Semibold" [!$POSIX]
"name" "Verdana" [$POSIX]
"tall" "12"
"weight" "0"
"range" "0x0020 0x1EFF"
Expand All @@ -81,7 +87,8 @@

"2"
{
"name" "Lato Semibold"
"name" "Lato Semibold" [!$POSIX]
"name" "Verdana" [$POSIX]
"tall" "12"
"weight" "0"
"range" "0x0020 0x1EFF"
Expand All @@ -90,7 +97,8 @@

"3"
{
"name" "Lato Semibold"
"name" "Lato Semibold" [!$POSIX]
"name" "Verdana" [$POSIX]
"tall" "12"
"weight" "0"
"range" "0x0020 0x1EFF"
Expand All @@ -100,7 +108,8 @@

"4"
{
"name" "Lato Semibold"
"name" "Lato Semibold" [!$POSIX]
"name" "Verdana" [$POSIX]
"tall" "14"
"weight" "0"
"range" "0x0020 0x1EFF"
Expand All @@ -110,7 +119,8 @@

"5" // Misyl: Proportional
{
"name" "Lato Semibold"
"name" "Lato Semibold" [!$POSIX]
"name" "Verdana" [$POSIX]
"tall" "9"
"weight" "0"
"range" "0x0020 0x1EFF"
Expand Down
12 changes: 6 additions & 6 deletions _budhud/resource/sourcescheme.res
Original file line number Diff line number Diff line change
Expand Up @@ -276,25 +276,25 @@
}
}

"DefaultSmall" // Server browser server list text, console drop-down text
"DefaultSmall" // Server browser server list text, console drop-down text (no yres)
{
"1"
{
"name" "Lato Semibold"
"tall" "12"
"name" "Lato Semibold" [!$POSIX]
"name" "Verdana" [$POSIX]
"tall" "13"
"antialias" "1"
"weight" "500"
}
}

"DefaultVerySmall" // Language indicator (console), options > keyboard > title header sizing
{
"1"
{
"name" "Lato Semibold"
"name" "Lato Semibold" [!$POSIX]
"name" "Verdana" [$POSIX]
"tall" "12"
"antialias" "1"
"weight" "1000"
}
}

Expand Down

0 comments on commit 9508eb5

Please sign in to comment.