mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 21:24:16 +01:00
do not call BuildLookupTable if for whatever reason a font has no glyphs
This commit is contained in:
parent
f86885ec39
commit
b666be53f9
3 changed files with 12 additions and 4 deletions
|
|
@ -220,7 +220,7 @@ namespace Dalamud.Interface
|
|||
}
|
||||
}
|
||||
|
||||
if (rebuildLookupTable)
|
||||
if (rebuildLookupTable && target.Value!.Glyphs.Size > 0)
|
||||
target.Value!.BuildLookupTable();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue