The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Merge ../birdfont-2.x

These changes was commited to the Birdfont repository Sat, 01 Oct 2016 09:58:58 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
author Johan Mattsson <johan.mattsson.m@gmail.com>
Sat, 01 Oct 2016 09:58:58 +0000 (11:58 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Sat, 01 Oct 2016 09:58:58 +0000 (11:58 +0200)
commit f61153b2c8c9b901c1bf173a609e6693260665ea
tree 7d393f6809b1bc81fb11abdf0e2af3797486fb87
parent dfdd8569b2ebda6fa6425a0f30b2244cffd1ae8b
parent 6ed1778a99ff160f6d2515353be1c085366bc6e7
Merge ../birdfont-2.x

NEWS
libbirdfont/EditPoint.vala
libbirdfont/PenTool.vala
scripts/version.py
diff --git a/NEWS b/NEWS
--- a/NEWS +++ b/NEWS @@ -1,3 +1,10 @@ + birdfont (2.16.9) stable; + + * RTL (right-to-left) writing in kerning tab + * Bug fixes + + -- Johan Mattsson <johan.mattsson.m@gmail.com> lör 1 okt 2016 09:38:00 CEST + birdfont (2.16.0) stable; * New freehand tool
--- a/libbirdfont/EditPoint.vala +++ b/libbirdfont/EditPoint.vala @@ -219,6 +219,12 @@ /** Make handles symmetrical. */ public void set_reflective_handles (bool symmetrical) { reflective_point = symmetrical; + + if (symmetrical) { + get_left_handle ().convert_to_curve (); + get_right_handle ().convert_to_curve (); + process_tied_handle (); + } } /** Flip handles if next point on path is in the other direction. @@ -288,7 +294,6 @@ } } - /** This can only be performed if the path has been closed. */ public void process_tied_handle () requires (next != null && prev != null) { double a, b, c, length, angle;
--- a/libbirdfont/PenTool.vala +++ b/libbirdfont/PenTool.vala @@ -1250,7 +1250,7 @@ } // alt+click creates a point with symmetrical handles - if (KeyBindings.has_alt () || KeyBindings.has_ctrl ()) { + if (KeyBindings.has_alt () || KeyBindings.has_ctrl ()) { selected_point.set_reflective_handles (true); selected_point.get_right_handle ().process_symmetrical_handle (); GlyphCanvas.redraw ();
--- a/scripts/version.py +++ b/scripts/version.py @@ -13,7 +13,7 @@ Lesser General Public License for more details. """ - VERSION = '2.16.7' + VERSION = '2.16.9' SO_VERSION_MAJOR = '36' SO_VERSION_MINOR = '0' SO_VERSION = SO_VERSION_MAJOR + '.' + SO_VERSION_MINOR