The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Ligatures

These changes was commited to the Birdfont repository Wed, 19 Aug 2015 08:06:54 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Wed, 19 Aug 2015 08:06:54 +0000]

Updated Files

libbirdfont/OpenFontFormat/LigatureCollection.vala
--- a/libbirdfont/OpenFontFormat/LigatureCollection.vala +++ b/libbirdfont/OpenFontFormat/LigatureCollection.vala @@ -106,7 +106,7 @@ ligature_sets.sort ((a, b) => { LigatureSet la = (LigatureSet) a; LigatureSet lb = (LigatureSet) b; - return Posix.strcmp (la.get_coverage_char (), lb.get_coverage_char ()); + return (int) (la.get_coverage_char ().get_char () - lb.get_coverage_char ().get_char ()); }); }