summaryrefslogtreecommitdiff
path: root/app/bdftopcf/fontutil.h
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2018-03-29 20:34:31 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2018-03-29 20:34:31 +0000
commita7714bceb5f2277bddeab5b282741cbea9635c4e (patch)
tree54e373c1f9ee2cddae8ca72288336d58acf35fd0 /app/bdftopcf/fontutil.h
parent070d7319618250500e67dfe3a57ce09c0ab7325f (diff)
Update to bdftopcf 1.1
Diffstat (limited to 'app/bdftopcf/fontutil.h')
-rw-r--r--app/bdftopcf/fontutil.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/app/bdftopcf/fontutil.h b/app/bdftopcf/fontutil.h
new file mode 100644
index 000000000..ed55b89e9
--- /dev/null
+++ b/app/bdftopcf/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_ */