Commit 467a160
Fix fill settings
Changed files (2)
Diff
@@ -247,6 +247,7 @@ public class GlyfData : GLib.Object { if ((int16) y == 0 && (int16) coordinate_x.get (coordinate_y.size - 1) == 0) { warning (@"Point on point in TTF. Index $(coordinate_y.size - 1)"); + // FIXME: distorted shape if (BirdFont.has_argument ("--test")) { print (glyph.get_name () + "\n"); print (points.get (epi).to_string ());@@ -269,6 +270,7 @@ public class GlyfData : GLib.Object { print (glyph.get_name () + "\n"); print (points.get (epi).to_string ()); + // FIXME: distorted shape PenTool.remove_point_simplify (new PointSelection (points.get (epi), p)); return false; }@@ -89,9 +89,11 @@ public class SettingsTab : SettingsDisplay { Tool fill_open_path = new Tool ("fill_open_path"); fill_open_path.select_action.connect((self) => {- Path.fill_open_path = !Path.fill_open_path;- Glyph g = MainWindow.get_current_glyph ();- g.redraw_area (0, 0, g.allocation.width, g.allocation.height); + Path.fill_open_path = true; + });+ + fill_open_path.deselect_action.connect((self) => {+ Path.fill_open_path = false; }); tools.add (new SettingsItem (fill_open_path, t_("Fill open paths.")));