transhumandesign / kag-base

King Arthur's Gold base folder.
256 stars 118 forks source link

Font issue in Small CTF #2006

Open mugg91 opened 2 months ago

mugg91 commented 2 months ago

Description

Not sure if it happens only in small CTF, but today I noticed an issue with the font being too small.

aaa bbb

Screenshots from regular CTF

ddd eeee

mugg91 commented 2 months ago

Quick test with an own dedicated server didn't manage to reproduce this issue. When I rejoined the small CTF server the issue was gone. Maybe the game failed to load the font for some reason. I encountered this issue like a week ago as well so it may not be a once in a lifetime thing.

I guess this was the relevant code: GameStateBanners.as:

        if (!GUI::isFontLoaded("AveriaSerif-Bold_32"))
        {
            string AveriaSerif = CFileMatcher("AveriaSerif-Bold.ttf").getFirst();
            GUI::LoadFont("AveriaSerif-Bold_32", AveriaSerif, 32, true);
        }
mugg91 commented 2 months ago

Happened again. bbb