summaryrefslogtreecommitdiff
path: root/fontutil.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2017-11-03 14:05:18 -0400
committerAdam Jackson <ajax@redhat.com>2017-11-03 14:11:54 -0400
commit140f7f6e071a239329d700aa24191a664be2bea2 (patch)
tree32121615f79cba27cc173d324f49ad98fc29bfd8 /fontutil.h
parent102696da8737fcb324034f673cd5815f28923311 (diff)
Import more libXfont 1.x headers
The previous commit would build if you had the old headers installed, but building it in a fresh chroot would fail. Import some more junk and fix up the includes appropriately. Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'fontutil.h')
-rw-r--r--fontutil.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/fontutil.h b/fontutil.h
new file mode 100644
index 0000000..ed55b89
--- /dev/null
+++ b/fontutil.h
@@ -0,0 +1,24 @@
+#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);
+
+extern void GetGlyphs ( FontPtr font, unsigned long count,
+ unsigned char *chars, FontEncoding fontEncoding,
+ unsigned long *glyphcount, CharInfoPtr *glyphs );
+extern void QueryGlyphExtents ( FontPtr pFont, CharInfoPtr *charinfo,
+ unsigned long count, ExtentInfoRec *info );
+extern Bool QueryTextExtents ( FontPtr pFont, unsigned long count,
+ unsigned char *chars, ExtentInfoRec *info );
+extern Bool ParseGlyphCachingMode ( char *str );
+extern void InitGlyphCaching ( void );
+extern void SetGlyphCachingMode ( int newmode );
+extern int add_range ( fsRange *newrange, int *nranges, fsRange **range,
+ Bool charset_subset );
+
+#endif /* _FONTUTIL_H_ */