[subset] Reverse table order for font serialization to match what OTS expects.
authorGarret Rieger <grieger@google.com>
Wed, 21 Feb 2018 01:36:54 +0000 (17:36 -0800)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 21 Feb 2018 02:36:11 +0000 (18:36 -0800)
src/hb-open-file-private.hh

index f01ab87..88ce65a 100644 (file)
@@ -54,7 +54,7 @@ struct TTCHeader;
 typedef struct TableRecord
 {
   int cmp (Tag t) const
-  { return t.cmp (tag); }
+  { return -t.cmp (tag); }
 
   static int cmp (const void *pa, const void *pb)
   {