1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Linux font fix

This commit is contained in:
Brian Fiete 2020-05-25 14:14:04 -07:00
parent 42ae46390d
commit c69150e3bb

View file

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