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