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