projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91867cd
)
[subset] s/hmetrics/vmetrics.
author
Garret Rieger
<grieger@google.com>
Wed, 7 Mar 2018 18:29:15 +0000
(10:29 -0800)
committer
Garret Rieger
<grieger@google.com>
Wed, 7 Mar 2018 18:29:15 +0000
(10:29 -0800)
test/api/test-subset-vmtx.c
patch
|
blob
|
history
diff --git
a/test/api/test-subset-vmtx.c
b/test/api/test-subset-vmtx.c
index
f1d94f3
..
79d41df
100644
(file)
--- a/
test/api/test-subset-vmtx.c
+++ b/
test/api/test-subset-vmtx.c
@@
-38,8
+38,8
@@
static void check_num_vmetrics(hb_face_t *face, uint16_t expected_num_vmetrics)
unsigned int vhea_len;
uint8_t *raw_vhea = (uint8_t *) hb_blob_get_data(vhea_blob, &vhea_len);
- uint16_t num_
h
metrics = (raw_vhea[vhea_len - 2] << 8) + raw_vhea[vhea_len - 1];
- g_assert_cmpuint(expected_num_
hmetrics, ==, num_h
metrics);
+ uint16_t num_
v
metrics = (raw_vhea[vhea_len - 2] << 8) + raw_vhea[vhea_len - 1];
+ g_assert_cmpuint(expected_num_
vmetrics, ==, num_v
metrics);
hb_blob_destroy (vhea_blob);
hb_blob_destroy (vmtx_blob);