[config] Make test build under HB_TINY
This commit is contained in:
parent
12cec6c12e
commit
ccea7fa119
@ -45,10 +45,15 @@ main (int argc, char **argv)
|
|||||||
hb_blob_destroy (blob);
|
hb_blob_destroy (blob);
|
||||||
blob = nullptr;
|
blob = nullptr;
|
||||||
|
|
||||||
unsigned int p[5];
|
bool ret = true;
|
||||||
bool ret = hb_ot_layout_get_size_params (face, p, p+1, (p+2), p+3, p+4);
|
|
||||||
|
|
||||||
|
#ifndef HB_NO_LAYOUT_FEATURE_PARAMS
|
||||||
|
unsigned int p[5];
|
||||||
|
ret = hb_ot_layout_get_size_params (face, p, p+1, (p+2), p+3, p+4);
|
||||||
printf ("%g %u %u %g %g\n", p[0]/10., p[1], p[2], p[3]/10., p[4]/10.);
|
printf ("%g %u %u %g %g\n", p[0]/10., p[1], p[2], p[3]/10., p[4]/10.);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
hb_face_destroy (face);
|
||||||
|
|
||||||
return !ret;
|
return !ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user