mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-05 15:56:00 +02:00
Linux font fix
This commit is contained in:
parent
d5768c0a83
commit
c43212c38a
1 changed files with 1 additions and 1 deletions
|
@ -355,9 +355,9 @@ namespace Beefy.gfx
|
||||||
{
|
{
|
||||||
if (sFontNameMap == null)
|
if (sFontNameMap == null)
|
||||||
BuildFontNameCache();
|
BuildFontNameCache();
|
||||||
|
String pathStr;
|
||||||
#if BF_PLATFORM_WINDOWS
|
#if BF_PLATFORM_WINDOWS
|
||||||
let lookupStr = scope String(fontName)..ToUpper();
|
let lookupStr = scope String(fontName)..ToUpper();
|
||||||
String pathStr;
|
|
||||||
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