mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Linux font fix
This commit is contained in:
parent
42ae46390d
commit
c69150e3bb
1 changed files with 1 additions and 1 deletions
|
@ -356,8 +356,8 @@ namespace Beefy.gfx
|
||||||
if (sFontNameMap == null)
|
if (sFontNameMap == null)
|
||||||
BuildFontNameCache();
|
BuildFontNameCache();
|
||||||
String pathStr;
|
String pathStr;
|
||||||
#if BF_PLATFORM_WINDOWS
|
|
||||||
let lookupStr = scope String(fontName)..ToUpper();
|
let lookupStr = scope String(fontName)..ToUpper();
|
||||||
|
#if BF_PLATFORM_WINDOWS
|
||||||
if (sFontNameMap.TryGetValue(lookupStr, out pathStr))
|
if (sFontNameMap.TryGetValue(lookupStr, out pathStr))
|
||||||
{
|
{
|
||||||
if (!pathStr.Contains(':'))
|
if (!pathStr.Contains(':'))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue