From 1551f3d51862ab8f6428c9c35c7f424b00af72ee Mon Sep 17 00:00:00 2001 From: justvanrossum Date: Thu, 18 Feb 2021 11:57:37 +0100 Subject: [PATCH] fixing more expected test results --- test/api/test-draw.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/test/api/test-draw.c b/test/api/test-draw.c index 4613d2980..c502f7d3a 100644 --- a/test/api/test-draw.c +++ b/test/api/test-draw.c @@ -218,13 +218,13 @@ test_hb_draw_glyf (void) user_data.consumed = 0; g_assert (hb_font_draw_glyph (font, 3, funcs, &user_data)); - char expected3[] = "M323,448Q297,448 271,430Q244,412 227,371Q209,330 209,261" - "Q209,204 226,166Q242,127 273,107Q303,86 344,86Q378,86 404,101" + char expected3[] = "M323,448Q297,448 271,430Q244,412 226,371Q209,330 209,261" + "Q209,204 225,166Q242,127 272,107Q303,86 344,86Q378,86 404,101" "Q430,115 451,137L488,103Q458,42 404,13Q350,-16 279,-16" - "Q211,-16 153,13Q95,41 60,99Q25,156 25,241Q25,323 62,382" - "Q99,440 163,471Q226,501 303,501Q357,501 399,481Q440,460 464,426" - "Q488,392 492,352Q475,297 420,297Q390,297 366,320Q342,342 339,401" - "L333,469L411,427Q387,438 368,443Q348,448 323,448Z"; + "Q211,-16 153,13Q95,41 60,98Q25,156 25,241Q25,323 62,382" + "Q99,440 163,470Q226,501 303,501Q357,501 399,480Q440,460 464,426" + "Q488,392 492,352Q475,297 420,297Q390,297 366,319Q342,342 339,401" + "L333,469L411,427Q387,438 367,443Q348,448 323,448Z"; g_assert_cmpmem (str, user_data.consumed, expected3, sizeof (expected3) - 1); hb_font_destroy (font); @@ -791,11 +791,11 @@ test_hb_draw_estedad_vf (void) "Q726,1333 855,1333Q984,1333 1099,1284Q1213,1235 1302,1148" "Q1390,1061 1440,945Q1490,828 1490,693Q1490,558 1440,442" "Q1390,325 1302,237Q1213,149 1099,100Q984,51 855,51" - "Q726,51 612,100Q497,149 409,237Q320,325 270,442" + "Q726,51 611,100Q497,149 408,237Q320,325 270,442" "Q220,558 220,693ZM690,643L690,997L886,997Q970,997 1029,949" "Q1087,901 1087,819Q1087,737 1028,690Q969,643 886,643L690,643Z" "M1165,334L973,568Q1065,591 1126,658Q1187,725 1187,819" - "Q1187,896 1147,956Q1106,1015 1038,1049Q969,1083 886,1083" + "Q1187,896 1147,956Q1106,1015 1037,1049Q969,1083 886,1083" "L590,1083L590,310L690,310L690,557L860,557L1083,286L1165,334Z"; g_assert_cmpmem (str, user_data.consumed, expected2, sizeof (expected2) - 1); @@ -805,8 +805,8 @@ test_hb_draw_estedad_vf (void) char expected3[] = "M422,598Q495,598 545,548Q595,498 595,426Q595,353 545,303Q494,252 422,252" "Q350,252 300,303Q250,353 250,426Q250,499 300,549Q349,598 422,598ZM422,698" "Q347,698 285,662Q223,625 187,564Q150,502 150,426Q150,351 187,289" - "Q223,226 285,189Q346,152 422,152Q498,152 560,189Q622,226 659,289" - "Q695,351 695,426Q695,502 658,564Q621,625 560,662Q498,698 422,698Z"; + "Q223,226 285,189Q346,152 422,152Q498,152 560,189Q622,226 658,288" + "Q695,351 695,426Q695,502 658,563Q621,625 559,661Q498,698 422,698Z"; g_assert_cmpmem (str, user_data.consumed, expected3, sizeof (expected3) - 1); hb_font_destroy (font);