Commit 8c73be6
Debug info for boundaries
Changed files (2)
modifiedlibbirdfont/OpenFontFormat/GlyfTable.valamodifiedlibbirdfont/OpenFontFormat/HmtxTable.vala
Diff
@@ -308,18 +308,22 @@ public class GlyfTable : OtfTable { // save bounding box for head table if (glyf_data.bounding_box_xmin < this.xmin) {+ printd (@"YMin in $(g.get_name ())\n"); this.xmin = glyf_data.bounding_box_xmin; } if (glyf_data.bounding_box_ymin < this.ymin) {+ printd (@"YMin in $(g.get_name ())\n"); this.ymin = glyf_data.bounding_box_ymin; } if (glyf_data.bounding_box_xmax > this.xmax) {+ printd (@"XMax in $(g.get_name ())\n"); this.xmax = glyf_data.bounding_box_xmax; } if (glyf_data.bounding_box_ymax > this.ymax) {+ printd (@"YMax in $(g.get_name ())\n"); this.ymax = glyf_data.bounding_box_ymax; } @@ -161,7 +161,7 @@ public class HmtxTable : OtfTable { } if (extent < 0) {- warning ("Negative extent.");+ warning (@"Negative extent in $(gc.get_name ())."); } advance_width[nmetrics] = (uint16) extent;