2004-08-02 21:50:17 +00:00
|
|
|
/*
|
2007-10-29 23:25:10 +00:00
|
|
|
CairoFontEnumerator.m
|
|
|
|
|
|
|
|
Copyright (C) 2003 Free Software Foundation, Inc.
|
2004-08-02 21:50:17 +00:00
|
|
|
|
2007-10-29 23:25:10 +00:00
|
|
|
August 31, 2003
|
|
|
|
Written by Banlu Kemiyatorn <object at gmail dot com>
|
|
|
|
Base on original code of Alex Malmberg
|
|
|
|
Rewrite: Fred Kiefer <fredkiefer@gmx.de>
|
|
|
|
Date: Jan 2006
|
|
|
|
|
|
|
|
This file is part of GNUstep.
|
2004-08-02 21:50:17 +00:00
|
|
|
|
2007-10-29 23:25:10 +00:00
|
|
|
This library is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU Lesser General Public
|
|
|
|
License as published by the Free Software Foundation; either
|
2008-06-10 04:12:46 +00:00
|
|
|
version 2 of the License, or (at your option) any later version.
|
2007-10-29 23:25:10 +00:00
|
|
|
|
|
|
|
This library is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
Lesser General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
|
|
License along with this library; see the file COPYING.LIB.
|
|
|
|
If not, see <http://www.gnu.org/licenses/> or write to the
|
|
|
|
Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
|
|
|
Boston, MA 02110-1301, USA.
|
|
|
|
*/
|
2004-08-02 21:50:17 +00:00
|
|
|
|
|
|
|
#include "cairo/CairoFontEnumerator.h"
|
2005-07-27 23:25:32 +00:00
|
|
|
#include "cairo/CairoFontInfo.h"
|
2004-08-02 21:50:17 +00:00
|
|
|
|
|
|
|
@implementation CairoFontEnumerator
|
|
|
|
|
2013-09-10 21:07:03 +00:00
|
|
|
+ (Class) faceInfoClass
|
2011-04-14 23:14:38 +00:00
|
|
|
{
|
2013-09-10 21:07:03 +00:00
|
|
|
return [CairoFaceInfo class];
|
2011-04-14 23:14:38 +00:00
|
|
|
}
|
|
|
|
|
2013-09-10 21:07:03 +00:00
|
|
|
+ (CairoFaceInfo *) fontWithName: (NSString *) name
|
2011-03-28 04:19:41 +00:00
|
|
|
{
|
2013-09-10 21:07:03 +00:00
|
|
|
return (CairoFaceInfo *) [super fontWithName: name];
|
2011-03-28 04:19:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@end
|
2011-04-14 23:14:38 +00:00
|
|
|
|