The Birdfont Source Code


All Repositories / birdfont.git / commit – 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
author Johan Mattsson <johan.mattsson.m@gmail.com>
Sat, 11 Oct 2014 13:37:58 +0000 (15:37 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Sat, 11 Oct 2014 13:37:58 +0000 (15:37 +0200)
commit e28db3491ca289b9f18961edadd8713b82f1df49
tree 0c30ae42105c2baf5907b7745c69a6d451e9bbe6
parent 183012adfc252812f3de438c7da706f15fdd0197
parent b392031ee4edaadb470d0f9ed5aa77d3185a6b2b
Merge branch 'master' of gitorious.org:birdfont/birdfont

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;