mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-31 01:11:00 +00:00
Rename class
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@15687 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
664673ec0e
commit
c0cffa34f0
5 changed files with 17 additions and 10 deletions
|
@ -48,7 +48,7 @@ XGGeometry.m \
|
|||
linking.m
|
||||
|
||||
ifeq ($(WITH_XFT),yes)
|
||||
xlib_OBJC_FILES += XftFontInfo.m
|
||||
xlib_OBJC_FILES += GSXftFontInfo.m
|
||||
endif
|
||||
|
||||
xlib_HEADER_FILES_DIR = ../../Headers/xlib
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
XftFontInfo
|
||||
GSXftFontInfo
|
||||
|
||||
NSFont helper for GNUstep GUI X/GPS Backend
|
||||
|
||||
|
@ -37,21 +37,21 @@
|
|||
// For the encoding functions
|
||||
#include <base/Unicode.h>
|
||||
|
||||
#include "xlib/XftFontInfo.h"
|
||||
#include "xlib/GSXftFontInfo.h"
|
||||
|
||||
/*
|
||||
* class global dictionary of existing fonts
|
||||
*/
|
||||
static NSMutableDictionary *_globalFontDictionary = nil;
|
||||
|
||||
@interface XftFontInfo (Private)
|
||||
@interface GSXftFontInfo (Private)
|
||||
|
||||
- (BOOL) setupAttributes;
|
||||
- (XGlyphInfo *)xGlyphInfo: (NSGlyph) glyph;
|
||||
|
||||
@end
|
||||
|
||||
@implementation XftFontInfo
|
||||
@implementation GSXftFontInfo
|
||||
|
||||
- initWithFontName: (NSString*)name matrix: (const float *)fmatrix
|
||||
{
|
||||
|
@ -305,7 +305,7 @@ static NSMutableDictionary *_globalFontDictionary = nil;
|
|||
|
||||
@end
|
||||
|
||||
@implementation XftFontInfo (Private)
|
||||
@implementation GSXftFontInfo (Private)
|
||||
|
||||
- (BOOL) setupAttributes
|
||||
{
|
|
@ -44,7 +44,7 @@
|
|||
#include "xlib/XGGState.h"
|
||||
|
||||
#ifdef HAVE_XFT
|
||||
#include "xlib/XftFontInfo.h"
|
||||
#include "xlib/GSXftFontInfo.h"
|
||||
#endif
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
|
@ -78,7 +78,7 @@
|
|||
#ifdef HAVE_XFT
|
||||
if ([[NSUserDefaults standardUserDefaults] boolForKey: @"GSFontAntiAlias"])
|
||||
{
|
||||
fontClass = [XftFontInfo class];
|
||||
fontClass = [GSXftFontInfo class];
|
||||
}
|
||||
#endif
|
||||
if (fontClass == Nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue