From 0f1a6ce8268b197732aab40069bbda57eddac2e0 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 2 May 2019 15:03:41 -0700 Subject: [PATCH] [name] Fix format of susbetted table to 0 --- src/hb-ot-name-table.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-name-table.hh b/src/hb-ot-name-table.hh index 91a52148e..7f3b7a44c 100644 --- a/src/hb-ot-name-table.hh +++ b/src/hb-ot-name-table.hh @@ -267,7 +267,7 @@ struct name if (unlikely (!c->extend_min ((*this)))) return_trace (false); - this->format = source_name->format; + this->format = 0; this->count = name_record_idx_to_retain.length; this->stringOffset = min_size + name_record_idx_to_retain.length * NameRecord::static_size;