summaryrefslogtreecommitdiff
path: root/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-var-cvar-table.hh
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2023-09-09 09:06:21 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2023-09-09 09:06:21 +0000
commit0be1c6e7c65f80a069441cf6e473fb38bc2c4bbc (patch)
tree17ba75c79855490fd0a5e897006b05e85032b3fc /Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-var-cvar-table.hh
parent4ceadf705835c6adae4375125c756a5b72b49cea (diff)
harfbuzz 8.2.0
git-svn-id: svn://tug.org/texlive/trunk@68217 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-var-cvar-table.hh')
-rw-r--r--Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-var-cvar-table.hh8
1 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-var-cvar-table.hh b/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-var-cvar-table.hh
index fee39eff386..adb81769bdc 100644
--- a/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-var-cvar-table.hh
+++ b/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-var-cvar-table.hh
@@ -131,6 +131,7 @@ struct cvar
TupleVariationData::tuple_variations_t& tuple_variations) const
{
TRACE_SERIALIZE (this);
+ if (!tuple_variations) return_trace (false);
if (unlikely (!c->embed (version))) return_trace (false);
return_trace (tupleVariationData.serialize (c, false, tuple_variations));
@@ -168,8 +169,11 @@ struct cvar
tuple_variations))
return_trace (false);
- tuple_variations.instantiate (c->plan->axes_location, c->plan->axes_triple_distances);
- if (!tuple_variations.compile_bytes (c->plan->axes_index_map, c->plan->axes_old_index_tag_map))
+ if (!tuple_variations.instantiate (c->plan->axes_location, c->plan->axes_triple_distances))
+ return_trace (false);
+
+ if (!tuple_variations.compile_bytes (c->plan->axes_index_map, c->plan->axes_old_index_tag_map,
+ false /* do not use shared points */))
return_trace (false);
return_trace (serialize (c->serializer, tuple_variations));