The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Fix kerning handle

These changes was commited to the Birdfont repository Fri, 10 Oct 2014 13:05:20 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Fri, 10 Oct 2014 13:05:20 +0000]

Updated Files

libbirdfont/KerningDisplay.vala
--- a/libbirdfont/KerningDisplay.vala +++ b/libbirdfont/KerningDisplay.vala @@ -774,7 +774,7 @@ kern = get_kerning_for_pair (((!)prev).get_name (), ((!)g).get_name (), gr_left, gr_right); } - d = Math.pow (fs * (x + kern) - ex, 2) + fs * Math.pow (y - ey, 2); + d = Math.pow (fs * (x + kern) - ex, 2) + Math.pow (fs * (y - ey), 2); if (d < min) { min = d;