[cbdt] Fix sign bug
authorBehdad Esfahbod <behdad@behdad.org>
Mon, 5 Dec 2016 02:56:24 +0000 (18:56 -0800)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 5 Dec 2016 02:56:24 +0000 (18:56 -0800)
Was introduced in d495fc5e38038f4cfb20425b1109324fa70bf2f9

src/hb-ot-cbdt-table.hh

index 4319067..2043a25 100644 (file)
@@ -44,7 +44,7 @@ struct SmallGlyphMetrics
     extents->x_bearing = bearingX;
     extents->y_bearing = bearingY;
     extents->width = width;
-    extents->height = height;
+    extents->height = -height;
   }
 
   BYTE height;