diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2008-10-23 01:45:35 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2008-10-23 01:45:35 -0400 |
commit | d692284ab8f90d7402621f1a07aaddcf11d87ef5 (patch) | |
tree | 793cdc40cdf94c7908f896683699cd4091b20f14 | |
parent | e6219f7116311d999054dc31df081aa66a0cd2d3 (diff) |
[test/user-font] Exercise glyph 0
Previously there was a bug in cairo and/or poppler causing glyph 0 of
user fonts to not show up. This is fixed now, so we exercise glyph 0.
-rw-r--r-- | test/user-font.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/user-font.c b/test/user-font.c index d90cd49c9..6688ce034 100644 --- a/test/user-font.c +++ b/test/user-font.c @@ -158,10 +158,6 @@ _user_font_face_create (cairo_font_face_t **out) * 13 14 15 */ static const test_scaled_font_glyph_t glyphs [] = { - { '\0', 1, { END_GLYPH } }, /* Poppler has a bug assuming glyph 0 is .notdef */ - { ' ', 1, { END_GLYPH } }, - { '-', 2, { 7, 8, STROKE, END_GLYPH } }, - { '.', 1, { 10, 10, STROKE, END_GLYPH } }, { 'a', 3, { 4, 6, 12, 10, 7, 9, STROKE, END_GLYPH } }, { 'c', 3, { 6, 4, 10, 12, STROKE, END_GLYPH } }, { 'e', 3, { 12, 10, 4, 6, 9, 7, STROKE, END_GLYPH } }, @@ -177,6 +173,9 @@ _user_font_face_create (cairo_font_face_t **out) { 't', 3, { 2, 11, 12, STROKE, 4, 6, STROKE, END_GLYPH } }, { 'u', 3, { 4, 10, 12, 6, STROKE, END_GLYPH } }, { 'z', 3, { 4, 6, 10, 12, STROKE, END_GLYPH } }, + { ' ', 1, { END_GLYPH } }, + { '-', 2, { 7, 8, STROKE, END_GLYPH } }, + { '.', 1, { 10, 10, STROKE, END_GLYPH } }, { -1, 0, { END_GLYPH } }, }; |