mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 10:01:14 +00:00
Fix missing font hack with defaults key GSDefaultForMissingFont set to font name to use
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38831 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d1ea62a81e
commit
a333b4608e
1 changed files with 1 additions and 1 deletions
|
@ -880,7 +880,7 @@ static void setNSFont(NSString *key, NSFont *font)
|
|||
}
|
||||
|
||||
// In case the font for name was missing also...
|
||||
if (cls && [GSCurrentServer() isKindOfClass: cls])
|
||||
if (fontInfo == nil)
|
||||
{
|
||||
// HACK FIX FOR MISSING FONT - NEEDS TO BE FIXED...
|
||||
fontInfo = RETAIN([GSFontInfo fontInfoForFontName: @"Arial"
|
||||
|
|
Loading…
Reference in a new issue