The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Merge branch '2.x' of github.com:johanmattssonm/birdfont

These changes was commited to the Birdfont repository Thu, 21 Jan 2016 20:46:19 +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, 21 Jan 2016 20:46:19 +0000]

Updated Files

libbirdfont/Path.vala
libbirdfont/SvgParser.vala
scripts/release.sh
scripts/version.py
--- a/libbirdfont/Path.vala +++ b/libbirdfont/Path.vala @@ -2252,10 +2252,11 @@ if (points.size == 0) { return; } - + for (int i = 0; i < points.size + 1; i++) { EditPoint ep = points.get (i % points.size); - if (ep.get_right_handle ().length < t3 + if ((ep.flags & EditPoint.STROKE_OFFSET) > 0 + && ep.get_right_handle ().length < t3 && ep.get_left_handle ().length < t3 && !is_endpoint (ep) && (ep.flags & EditPoint.CURVE_KEEP) == 0
--- a/libbirdfont/SvgParser.vala +++ b/libbirdfont/SvgParser.vala @@ -1,5 +1,5 @@ /* - Copyright (C) 2012 2013 2014 2015 Johan Mattsson + Copyright (C) 2012 - 2016 Johan Mattsson This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as @@ -1357,7 +1357,6 @@ ep = new EditPoint (); for (int i = 0; i < num_b; i++) { - warning (@"$(b[i])\n"); if (b[i].type == '\0') { warning ("Parser error."); return path_list;
--- a/scripts/release.sh +++ b/scripts/release.sh @@ -15,9 +15,11 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. rep="$(pwd)" + repname="$(basename $(pwd))" mkdir -p build cd build + rm -rf export mkdir -p export cd export @@ -51,7 +53,7 @@ git clone --depth 1 -b $1 file://$rep fi - mv birdfont birdfont-$version + mv $repname birdfont-$version rm -rf birdfont-$version/.git rm -rf birdfont-$version/.gitignore
--- a/scripts/version.py +++ b/scripts/version.py @@ -13,7 +13,7 @@ Lesser General Public License for more details. """ - VERSION = '2.15.3' + VERSION = '2.15.5' SO_VERSION_MAJOR = '36' SO_VERSION_MINOR = '0' SO_VERSION = SO_VERSION_MAJOR + '.' + SO_VERSION_MINOR