summaryrefslogtreecommitdiff
path: root/base/gsagl.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/gsagl.h')
-rw-r--r--base/gsagl.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/base/gsagl.h b/base/gsagl.h
new file mode 100644
index 000000000..949789a87
--- /dev/null
+++ b/base/gsagl.h
@@ -0,0 +1,42 @@
+/* Copyright (C) 2001-2021 Artifex Software, Inc.
+ All Rights Reserved.
+
+ This software is provided AS-IS with no warranty, either express or
+ implied.
+
+ This software is distributed under license and may not be copied,
+ modified or distributed except as expressly authorized under the terms
+ of the license contained in the file LICENSE in this distribution.
+
+ Refer to licensing information at http://www.artifex.com or contact
+ Artifex Software, Inc., 1305 Grant Avenue - Suite 200, Novato,
+ CA 94945, U.S.A., +1(415)492-9861, for further information.
+*/
+/* We need several tables, to hold the glyph names and a variable number of
+ * Unicode code points.
+ */
+
+#ifndef gsagl_h_INCLUDED
+#define gsagl_h_INCLUDED
+
+typedef struct single_glyph_list_s {
+ const char *Glyph;
+ unsigned short Unicode;
+} single_glyph_list_t;
+
+typedef struct double_glyph_list_s {
+ const char *Glyph;
+ unsigned short Unicode[2];
+} double_glyph_list_t;
+
+typedef struct treble_glyph_list_s {
+ const char *Glyph;
+ unsigned short Unicode[3];
+} treble_glyph_list_t;
+
+typedef struct quad_glyph_list_s {
+ const char *Glyph;
+ unsigned short Unicode[4];
+} quad_glyph_list_t;
+
+#endif