summaryrefslogtreecommitdiff
path: root/tests/font/fontinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/font/fontinfo.h')
-rw-r--r--tests/font/fontinfo.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/font/fontinfo.h b/tests/font/fontinfo.h
new file mode 100644
index 0000000..a1c312f
--- /dev/null
+++ b/tests/font/fontinfo.h
@@ -0,0 +1,19 @@
+#ifndef OPENVG_FONTINFO_H
+#define OPENVG_FONTINFO_H
+
+#if defined(__cplusplus)
+extern "C" {
+#endif
+ typedef struct {
+ const short *CharacterMap;
+ const int *GlyphAdvances;
+ int Count;
+ VGPath Glyphs[256];
+ } Fontinfo;
+
+ extern Fontinfo SansTypeface, SerifTypeface, MonoTypeface;
+
+#if defined(__cplusplus)
+}
+#endif // OPENVG_FONTINFO_H
+#endif