[test-draw] Use a larger scale
A scale of 20 is in the noise category for us. Using a larger scale makes the test pass.
This commit is contained in:
parent
347910fd4c
commit
e886b6b8a6
|
@ -1140,7 +1140,7 @@ test_hb_draw_compare_ot_ft (void)
|
||||||
hb_face_t *face = hb_test_open_font_file ("fonts/cff1_flex.otf");
|
hb_face_t *face = hb_test_open_font_file ("fonts/cff1_flex.otf");
|
||||||
hb_font_t *font = hb_font_create (face);
|
hb_font_t *font = hb_font_create (face);
|
||||||
|
|
||||||
hb_font_set_scale (font, 20, 20);
|
hb_font_set_scale (font, 100, 100);
|
||||||
|
|
||||||
hb_font_draw_glyph (font, 1, funcs, &draw_data);
|
hb_font_draw_glyph (font, 1, funcs, &draw_data);
|
||||||
draw_data.str[draw_data.consumed] = '\0';
|
draw_data.str[draw_data.consumed] = '\0';
|
||||||
|
|
Loading…
Reference in New Issue