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:
abe33c6
)
[subset] Call serialize start/end around it
author
Behdad Esfahbod
<behdad@behdad.org>
Mon, 1 Apr 2019 23:45:50 +0000
(16:45 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Mon, 1 Apr 2019 23:56:41 +0000
(16:56 -0700)
To be cleaned up.
src/hb-subset.cc
patch
|
blob
|
history
diff --git
a/src/hb-subset.cc
b/src/hb-subset.cc
index
b3f0646
..
655e495
100644
(file)
--- a/
src/hb-subset.cc
+++ b/
src/hb-subset.cc
@@
-81,8
+81,10
@@
_subset2 (hb_subset_plan_t *plan)
}
retry:
hb_serialize_context_t serializer ((void *) buf, buf_size);
+ serializer.start_serialize<TableType> ();
hb_subset_context_t c (plan, &serializer);
result = table->subset (&c);
+ serializer.end_serialize ();
if (serializer.ran_out_of_room)
{
buf_size += (buf_size >> 1) + 32;