The Birdfont Source Code


All Repositories / birdfont.git / commit – 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
author Johan Mattsson <johan.mattsson.m@gmail.com>
Wed, 19 Aug 2015 08:06:54 +0000 (10:06 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Wed, 19 Aug 2015 08:06:54 +0000 (10:06 +0200)
commit e89374e2ba9a121b33debcbc2d2a9c47bca9d2e6
tree c39d85670fa308579bcc956e09edbbbe830a8168
parent 673024ba0c219fcaad6f968915344367a77407ea
Ligatures

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 ()); }); }