diff options
author | Tom Gall <tom.gall@linaro.org> | 2014-10-05 23:02:12 -0500 |
---|---|---|
committer | Tom Gall <tom.gall@linaro.org> | 2014-10-05 23:02:12 -0500 |
commit | ffbf61c267a162c3e5d41c9ff310e2c8dae1c3bd (patch) | |
tree | b966b6d1b2c0a6bcb8787e234defcd47ac2a1f0b /tests/font/fontinfo.h |
Initial commit
This is the reference implementation with the miniEGL code stripped out
Tests are simplistic at this point.
Windowing uses traditional egl (mesa test) but should work with mali
egl too.
Diffstat (limited to 'tests/font/fontinfo.h')
-rw-r--r-- | tests/font/fontinfo.h | 19 |
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 |