1 /* 2 FCFontInfo.h 3 4 Copyright (C) 2003 Free Software Foundation, Inc. 5 6 August 31, 2003 7 Written by Banlu Kemiyatorn <object at gmail dot com> 8 9 This file is part of GNUstep. 10 11 This library is free software; you can redistribute it and/or 12 modify it under the terms of the GNU Lesser General Public 13 License as published by the Free Software Foundation; either 14 version 2 of the License, or (at your option) any later version. 15 16 This library is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 Lesser General Public License for more details. 20 21 You should have received a copy of the GNU Lesser General Public 22 License along with this library; see the file COPYING.LIB. 23 If not, see <http://www.gnu.org/licenses/> or write to the 24 Free Software Foundation, 51 Franklin Street, Fifth Floor, 25 Boston, MA 02110-1301, USA. 26 */ 27 28 #ifndef FCFontInfo_h 29 #define FCFontInfo_h 30 31 #include <GNUstepGUI/GSFontInfo.h> 32 #include "fontconfig/FCFaceInfo.h" 33 34 @interface FCFontInfo : GSFontInfo 35 { 36 @public 37 FCFaceInfo *_faceInfo; 38 BOOL _screenFont; 39 CGFloat lineHeight; 40 41 unsigned int _cacheSize; 42 unsigned int *_cachedGlyphs; 43 NSSize *_cachedSizes; 44 } 45 46 - (void) setCacheSize:(unsigned int)size; 47 - (BOOL) setupAttributes; 48 @end 49 50 #endif 51