From d692284ab8f90d7402621f1a07aaddcf11d87ef5 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 23 Oct 2008 01:45:35 -0400 Subject: [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. --- test/user-font.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'test/user-font.c') 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 } }, }; -- cgit v1.2.1