The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Fix corner size

These changes was commited to the Birdfont repository Thu, 02 Apr 2015 15:30:07 +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>
Thu, 02 Apr 2015 15:30:07 +0000 (17:30 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Thu, 02 Apr 2015 15:30:07 +0000 (17:30 +0200)
commit e759aaa49562b08b8201ac76ad8c32dbf1136597
tree d3716e0b291c6c250da619de42447cd5f6c0b531
parent 12164f86fec427c72ee38e497ad8f8804ccbc836
Fix corner size

libbirdfont/StrokeTool.vala
--- a/libbirdfont/StrokeTool.vala +++ b/libbirdfont/StrokeTool.vala @@ -255,7 +255,7 @@ distance = Path.distance_to_point (corner, original); - ratio = 1.5 * fabs (stroke_width) / distance; // FIXME: cutoff parameter + ratio = fabs (stroke_width) / distance; if (ratio > 1) { stroked.add_point (corner);