2004-08-02 21:50:17 +00:00
|
|
|
/*
|
|
|
|
* CairoFontManager.h
|
|
|
|
|
|
|
|
* Copyright (C) 2003 Free Software Foundation, Inc.
|
|
|
|
* August 31, 2003
|
|
|
|
* Written by Banlu Kemiyatorn <object at gmail dot com>
|
|
|
|
* Base on code by Alexander Malmberg <alexander@malmberg.org>
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Library General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
* 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
|
|
|
|
* Library General Public License for more details.
|
|
|
|
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
* License along with this library; if not, write to the Free
|
2005-05-26 22:51:53 +00:00
|
|
|
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
2004-08-02 21:50:17 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CAIROFONTMANAGER_H
|
|
|
|
#define CAIROFONTMANAGER_H
|
|
|
|
#include "CairoFaceInfo.h"
|
|
|
|
#include <AppKit/NSFontManager.h>
|
|
|
|
|
|
|
|
@interface CairoFontManager : NSObject
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
+ (NSArray *) allFontNames;
|
|
|
|
+ (CairoFaceInfo *) fontWithName: (NSString *)name;
|
|
|
|
@end
|
|
|
|
#endif
|