Add support for the 'Family' key.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14596 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2002-09-28 15:31:42 +00:00
parent bdb8454f69
commit d17bd4b4d5
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2002-09-28 17:30 Alexander Malmberg <alexander@malmberg.org>
* Source/art/ftfont.m (load_font_configuration): Handle the
'Family' key.
2002-09-26 16:08 Alexander Malmberg <alexander@malmberg.org>
* Source/art/ftfont.m: Implement handling of the 'ScreenFonts' key

View file

@ -451,6 +451,9 @@ static void load_font_configuration(void)
if (!d)
continue;
if ([d objectForKey: @"Family"])
family = [d objectForKey: @"Family"];
if ([d objectForKey: @"Weight"])
weight = [[d objectForKey: @"Weight"] intValue];
else