[name] Fix format of susbetted table to 0
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 2 May 2019 22:03:41 +0000 (15:03 -0700)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 2 May 2019 22:03:41 +0000 (15:03 -0700)
src/hb-ot-name-table.hh

index 91a5214..7f3b7a4 100644 (file)
@@ -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;