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:
497e7fb
)
fixed name mixup in Remap::reset
author
Michiharu Ariza
<ariza@adobe.com>
Wed, 12 Sep 2018 05:41:50 +0000
(22:41 -0700)
committer
Michiharu Ariza
<ariza@adobe.com>
Wed, 12 Sep 2018 05:41:50 +0000
(22:41 -0700)
it was causing inconsistent Strings Index subset results
src/hb-ot-cff-common.hh
patch
|
blob
|
history
diff --git
a/src/hb-ot-cff-common.hh
b/src/hb-ot-cff-common.hh
index
28728a9
..
87ca69d
100644
(file)
--- a/
src/hb-ot-cff-common.hh
+++ b/
src/hb-ot-cff-common.hh
@@
-356,9
+356,9
@@
struct Remap : hb_vector_t<hb_codepoint_t>
inline void fini (void)
{ hb_vector_t<hb_codepoint_t>::fini (); }
- inline bool reset (unsigned int
count
)
+ inline bool reset (unsigned int
size
)
{
- if (unlikely (!hb_vector_t<hb_codepoint_t>::resize (
count
)))
+ if (unlikely (!hb_vector_t<hb_codepoint_t>::resize (
size
)))
return false;
for (unsigned int i = 0; i < len; i++)
(*this)[i] = CFF_UNDEF_CODE;