The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Merge branch 'master' of gitorious.org:birdfont/birdfont

These changes was commited to the Birdfont repository Sat, 11 Oct 2014 13:37: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
[Sat, 11 Oct 2014 13:37:58 +0000]

Updated Files

libbirdfont/OpenFontFormat/KernList.vala
--- a/libbirdfont/OpenFontFormat/KernList.vala +++ b/libbirdfont/OpenFontFormat/KernList.vala @@ -66,12 +66,16 @@ } current_pairs.pairs.sort ((a, b) => { - return a.right - b.right; + Kern first = (Kern) a; + Kern next = (Kern) b; + return first.right - next.right; }); }); pairs.sort ((a, b) => { - return a.left - b.left; + PairFormat1 first = (PairFormat1) a; + PairFormat1 next = (PairFormat1) b; + return first.left - next.left; }); return num_pairs;