Commit 64f5b04
tab width
Changed files (3)
modifiedlibbirdfont/OpenFontFormat/GposTable.valamodifiedlibbirdfont/Path.valamodifiedlibbirdfont/TabBar.vala
Diff
@@ -32,14 +32,6 @@ class GposTable : Table { public override void parse (FontData dis) throws Error { // Not implemented, freetype2 is used for loading fonts- return_if_fail (offset > 0 && length > 0);-- stdout.printf ("GPOS data:\n");- dis.seek (offset);- for (int i = 0; i < length; i++) {- stdout.printf ("%x ", dis.read ());- }- stdout.printf ("\n"); } public void process (GlyfTable glyf_table) throws GLib.Error {@@ -1042,7 +1042,12 @@ public class Path { ymax = tymax; ymin = tymin; - if (unlikely (!got_region_boundries ())) {+ if (points.length () == 0) {+ xmax = 0;+ xmin = 0;+ ymax = 0;+ ymin = 0;+ } else if (unlikely (!got_region_boundries ())) { warning (@"No new region boundries.\nPoints.length: $(points.length ())"); print_boundries (); }@@ -439,7 +439,7 @@ public class TabBar : GLib.Object { if (tab_width < 0) { tab_width = 9 * display_item.get_label ().char_count ();- tab_width += 30;+ tab_width += 36; } tabs.insert (new Tab (display_item, tab_width, always_open), s);