• Home
  • Raw
  • Download

Lines Matching full:face

10   hb_face_t *face = hb_face_create_from_file_or_fail (path, 0);  in open_font()  local
11 g_assert (face); in open_font()
12 return face; in open_font()
16 gboolean check_parsing(hb_face_t* face, const char* spec, hb_tag_t axis, float exp_min, float exp_d… in check_parsing() argument
25 gboolean res = parse_instancing_spec(spec_copy, face, input, &error); in check_parsing()
55 hb_face_t* face = open_font("../test/api/fonts/AdobeVFPrototype-Subset.otf"); in test_parse_instancing_spec() local
58 g_assert(check_parsing(face, "wght=300", wght, 300, 300, 300)); in test_parse_instancing_spec()
59 g_assert(check_parsing(face, "wght=100:200:300", wght, 100, 200, 300)); in test_parse_instancing_spec()
60 g_assert(check_parsing(face, "wght=:500:", wght, 0, 500, 1000)); in test_parse_instancing_spec()
61 g_assert(check_parsing(face, "wght=::700", wght, 0, 700, 700)); in test_parse_instancing_spec()
62 g_assert(check_parsing(face, "wght=200::", wght, 200, 1000, 1000)); in test_parse_instancing_spec()
63 g_assert(check_parsing(face, "wght=200:300:", wght, 200, 300, 1000)); in test_parse_instancing_spec()
64 g_assert(check_parsing(face, "wght=:300:500", wght, 0, 300, 500)); in test_parse_instancing_spec()
65 g_assert(check_parsing(face, "wght=300::700", wght, 300, 700, 700)); in test_parse_instancing_spec()
66 g_assert(check_parsing(face, "wght=300:700", wght, 300, 700, 700)); in test_parse_instancing_spec()
67 g_assert(check_parsing(face, "wght=:700", wght, 0, 700, 700)); in test_parse_instancing_spec()
68 g_assert(check_parsing(face, "wght=200:", wght, 200, 1000, 1000)); in test_parse_instancing_spec()
70 g_assert(check_parsing(face, "wght=200: xxxx=50", wght, 200, 1000, 1000)); in test_parse_instancing_spec()
71 g_assert(check_parsing(face, "wght=200: xxxx=50", xxxx, 50, 50, 50)); in test_parse_instancing_spec()
72 g_assert(check_parsing(face, "wght=200:,xxxx=50", wght, 200, 1000, 1000)); in test_parse_instancing_spec()
73 g_assert(check_parsing(face, "wght=200:,xxxx=50", xxxx, 50, 50, 50)); in test_parse_instancing_spec()
75 g_assert(check_parsing(face, "wght=200,*=drop", wght, 1000, 1000, 1000)); in test_parse_instancing_spec()
76 g_assert(check_parsing(face, "wght=200,*=drop", xxxx, 0, 0, 0)); in test_parse_instancing_spec()
77 g_assert(check_parsing(face, "*=drop,wght=200", wght, 200, 200, 200)); in test_parse_instancing_spec()
78 g_assert(check_parsing(face, "*=drop,wght=200", xxxx, 0, 0, 0)); in test_parse_instancing_spec()
79 g_assert(check_parsing(face, "*=drop,wght=200,xxxx=50", wght, 200, 200, 200)); in test_parse_instancing_spec()
80 g_assert(check_parsing(face, "*=drop,wght=200,xxxx=50", xxxx, 50, 50, 50)); in test_parse_instancing_spec()
81 g_assert(check_parsing(face, "xxxx=50,*=drop,wght=200", wght, 200, 200, 200)); in test_parse_instancing_spec()
82 g_assert(check_parsing(face, "xxxx=50,*=drop,wght=200", xxxx, 0, 0, 0)); in test_parse_instancing_spec()
83 g_assert(check_parsing(face, "*=drop", wght, 1000, 1000, 1000)); in test_parse_instancing_spec()
84 g_assert(check_parsing(face, "*=drop", xxxx, 0, 0, 0)); in test_parse_instancing_spec()
98 hb_face_destroy(face); in test_parse_instancing_spec()