From 05617616939ff2f7743a5a1d49b5f7ea70ffef00 Mon Sep 17 00:00:00 2001 From: nico Date: Thu, 7 Mar 2002 10:41:12 +0000 Subject: [PATCH] Use the system font as default font, not the user font git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13031 72102866-910b-0410-8b05-ffd578937521 --- Source/NSCell.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/NSCell.m b/Source/NSCell.m index f149374ee..6c3098f11 100644 --- a/Source/NSCell.m +++ b/Source/NSCell.m @@ -127,7 +127,7 @@ static NSColor *shadowCol; _cell.type = NSImageCellType; _cell_image = RETAIN (anImage); _cell.image_position = NSImageOnly; - _font = RETAIN ([fontClass userFontOfSize: 0]); + _font = RETAIN ([fontClass systemFontOfSize: 0]); // Implicitly set by allocation: // @@ -156,7 +156,7 @@ static NSColor *shadowCol; { _cell.type = NSTextCellType; _contents = RETAIN (aString); - _font = RETAIN ([fontClass userFontOfSize: 0]); + _font = RETAIN ([fontClass systemFontOfSize: 0]); // Implicitly set by allocation: // @@ -537,7 +537,7 @@ static NSColor *shadowCol; ASSIGN (_contents, @"title"); _cell.contents_is_attributed_string = NO; /* Doc says we have to reset the font too. */ - ASSIGN (_font, [fontClass userFontOfSize: 0]); + ASSIGN (_font, [fontClass systemFontOfSize: 0]); break; } case NSImageCellType: