Upvote Upvoted 2 Downvote Downvoted
Custom Fonts not working
posted in Customization
1
#1
1 Frags +
 "7" 
        {
            "font" "resource/SurroundingRegular.otf"
            "name" "surrounding-reg"
        }
        "8" 
        {
            "font" "resource/SurroundingBold.otf"
            "name" "surrounding-bold"
        "9" 
        {
            "font" "resource/Florsn01.ttf"
            "name" "Florencesans"
        }
        "10" 
        {
            "font" "resource/Florsn02.ttf"
            "name" "Florencesans Bold"
        }

Here's the syntax, for some reason, Surrounding Regular and Bold work, but Florencesans doesn't and any of the fonts below it. Instead, all I get are default verdana fonts. I've triple checked and the title in the Windows Font Preview is Florencesans for that font, so I don't know why it isn't working.

[code] "7"
{
"font" "resource/SurroundingRegular.otf"
"name" "surrounding-reg"
}
"8"
{
"font" "resource/SurroundingBold.otf"
"name" "surrounding-bold"
"9"
{
"font" "resource/Florsn01.ttf"
"name" "Florencesans"
}
"10"
{
"font" "resource/Florsn02.ttf"
"name" "Florencesans Bold"
}
[/code]
Here's the syntax, for some reason, Surrounding Regular and Bold work, but Florencesans doesn't and any of the fonts below it. Instead, all I get are default verdana fonts. I've triple checked and the title in the Windows Font Preview is Florencesans for that font, so I don't know why it isn't working.
2
#2
6 Frags +

no closing bracket after surroundingbold

no closing bracket after surroundingbold
3
#3
0 Frags +

Wow, I thought the problem was with the font name like it usually is, thanks.

Wow, I thought the problem was with the font name like it usually is, thanks.
Please sign in through STEAM to post a comment.