1a96d7823Smrg#ifndef _FONTUTIL_H_ 2a96d7823Smrg#define _FONTUTIL_H_ 3a96d7823Smrg 4a96d7823Smrg#include <X11/fonts/FSproto.h> 5a96d7823Smrg 6a96d7823Smrg#if 0 7a96d7823Smrgextern int FontCouldBeTerminal(FontInfoPtr); 8a96d7823Smrgextern int CheckFSFormat(fsBitmapFormat, fsBitmapFormatMask, int *, int *, 9a96d7823Smrg int *, int *, int *); 10a96d7823Smrgextern void FontComputeInfoAccelerators(FontInfoPtr); 11a96d7823Smrg 12a96d7823Smrgextern void GetGlyphs ( FontPtr font, unsigned long count, 13a96d7823Smrg unsigned char *chars, FontEncoding fontEncoding, 14a96d7823Smrg unsigned long *glyphcount, CharInfoPtr *glyphs ); 15a96d7823Smrgextern void QueryGlyphExtents ( FontPtr pFont, CharInfoPtr *charinfo, 16a96d7823Smrg unsigned long count, ExtentInfoRec *info ); 17a96d7823Smrgextern Bool QueryTextExtents ( FontPtr pFont, unsigned long count, 18a96d7823Smrg unsigned char *chars, ExtentInfoRec *info ); 19a96d7823Smrgextern Bool ParseGlyphCachingMode ( char *str ); 20a96d7823Smrgextern void InitGlyphCaching ( void ); 21a96d7823Smrgextern void SetGlyphCachingMode ( int newmode ); 22a96d7823Smrgextern int add_range ( fsRange *newrange, int *nranges, fsRange **range, 23a96d7823Smrg Bool charset_subset ); 24a96d7823Smrg#endif 25a96d7823Smrg 26a96d7823Smrg#endif /* _FONTUTIL_H_ */ 27