mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-24 04:11:28 +00:00
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:
parent
b3dc1b6f11
commit
ff599a6236
2 changed files with 14 additions and 1 deletions
|
@ -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>
|
2003-01-26 20:07 Alexander Malmberg <alexander@malmberg.org>
|
||||||
|
|
||||||
* Source/x11/XWindowBuffer.m (-_exposeRect:): Round rectangle to
|
* Source/x11/XWindowBuffer.m (-_exposeRect:): Round rectangle to
|
||||||
|
|
|
@ -53,8 +53,16 @@ static NSMutableDictionary *_globalFontDictionary = nil;
|
||||||
|
|
||||||
@implementation GSXftFontInfo
|
@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];
|
[super init];
|
||||||
ASSIGN(fontName, name);
|
ASSIGN(fontName, name);
|
||||||
memcpy(matrix, fmatrix, sizeof(matrix));
|
memcpy(matrix, fmatrix, sizeof(matrix));
|
||||||
|
|
Loading…
Reference in a new issue