mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 11:51:27 +00:00
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:
parent
bdb8454f69
commit
d17bd4b4d5
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue