xenocara/lib/libXfont/include/X11/fonts/fontutil.h

25 lines
949 B
C
Raw Normal View History

2006-11-25 09:46:32 -07:00
#ifndef _FONTUTIL_H_
#define _FONTUTIL_H_
#include <X11/fonts/FSproto.h>
extern int FontCouldBeTerminal(FontInfoPtr);
extern int CheckFSFormat(fsBitmapFormat, fsBitmapFormatMask, int *, int *,
int *, int *, int *);
extern void FontComputeInfoAccelerators(FontInfoPtr);
2012-03-04 11:13:46 -07:00
extern void GetGlyphs ( FontPtr font, unsigned long count,
unsigned char *chars, FontEncoding fontEncoding,
2006-11-25 09:46:32 -07:00
unsigned long *glyphcount, CharInfoPtr *glyphs );
2012-03-04 11:13:46 -07:00
extern void QueryGlyphExtents ( FontPtr pFont, CharInfoPtr *charinfo,
2006-11-25 09:46:32 -07:00
unsigned long count, ExtentInfoRec *info );
2012-03-04 11:13:46 -07:00
extern Bool QueryTextExtents ( FontPtr pFont, unsigned long count,
2006-11-25 09:46:32 -07:00
unsigned char *chars, ExtentInfoRec *info );
extern Bool ParseGlyphCachingMode ( char *str );
extern void InitGlyphCaching ( void );
extern void SetGlyphCachingMode ( int newmode );
2012-03-04 11:13:46 -07:00
extern int add_range ( fsRange *newrange, int *nranges, fsRange **range,
2006-11-25 09:46:32 -07:00
Bool charset_subset );
#endif /* _FONTUTIL_H_ */