Update Xft font code with new backend/gui interface.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@15729 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2003-01-26 20:29:13 +00:00
parent b3dc1b6f11
commit ff599a6236
2 changed files with 14 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2003-01-26 21:24 Alexander Malmberg <alexander@malmberg.org>
* Source/xlib/GSXftFontInfo.m: Update with screen font changes in
backend/gui interface.
2003-01-26 20:07 Alexander Malmberg <alexander@malmberg.org>
* Source/x11/XWindowBuffer.m (-_exposeRect:): Round rectangle to

View file

@ -53,8 +53,16 @@ static NSMutableDictionary *_globalFontDictionary = nil;
@implementation GSXftFontInfo
- initWithFontName: (NSString*)name matrix: (const float *)fmatrix
- initWithFontName: (NSString*)name
matrix: (const float *)fmatrix
screenFont: (BOOL)screenFont
{
if (screenFont)
{
RELEASE(self);
return nil;
}
[super init];
ASSIGN(fontName, name);
memcpy(matrix, fmatrix, sizeof(matrix));