mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 07:38:22 +02:00
test: Fix compile with older FreeType without FT_Get_Var_Design_Coordinates
Extend earlier fix to the tests as well.
This commit is contained in:
parent
5795ac9d90
commit
4a09fec668
1 changed files with 2 additions and 0 deletions
|
|
@ -114,11 +114,13 @@ test_variation (cairo_test_context_t *ctx,
|
|||
return CAIRO_TEST_FAILURE;
|
||||
}
|
||||
|
||||
#ifdef HAVE_FT_GET_VAR_DESIGN_COORDINATES
|
||||
ret = FT_Get_Var_Design_Coordinates (ft_face, 20, coords);
|
||||
if (ret != 0) {
|
||||
cairo_test_log (ctx, "Failed to get coords");
|
||||
return CAIRO_TEST_FAILURE;
|
||||
}
|
||||
#endif
|
||||
|
||||
for (i = 0; i < ft_mm_var->num_axis; i++) {
|
||||
FT_Var_Axis *axis = &ft_mm_var->axis[i];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue