The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Debug info for boundaries

These changes was commited to the Birdfont repository Thu, 14 Jul 2016 12:00:47 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Thu, 14 Jul 2016 12:00:47 +0000]

Updated Files

libbirdfont/OpenFontFormat/GlyfTable.vala
libbirdfont/OpenFontFormat/HmtxTable.vala
--- a/libbirdfont/OpenFontFormat/GlyfTable.vala +++ b/libbirdfont/OpenFontFormat/GlyfTable.vala @@ -308,18 +308,22 @@ // 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; }
--- a/libbirdfont/OpenFontFormat/HmtxTable.vala +++ b/libbirdfont/OpenFontFormat/HmtxTable.vala @@ -161,7 +161,7 @@ } if (extent < 0) { - warning ("Negative extent."); + warning (@"Negative extent in $(gc.get_name ())."); } advance_width[nmetrics] = (uint16) extent;