1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-04 23:36:00 +02:00

Linux font fix

This commit is contained in:
Brian Fiete 2020-05-25 13:38:57 -07:00
parent d5768c0a83
commit c43212c38a

View file

@ -355,9 +355,9 @@ namespace Beefy.gfx
{
if (sFontNameMap == null)
BuildFontNameCache();
String pathStr;
#if BF_PLATFORM_WINDOWS
let lookupStr = scope String(fontName)..ToUpper();
String pathStr;
if (sFontNameMap.TryGetValue(lookupStr, out pathStr))
{
if (!pathStr.Contains(':'))