The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Use table in recent files tab

Changes made to libbirdfont/LigatureList.vala

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
--- libbirdfont/LigatureList.vala +++ libbirdfont/LigatureList.vala @@ -107,11 +107,22 @@ rows.add (row); i = 0; + + if (ligatures.contextual_ligatures.size > 0) { + row = new Row.headline (t_("Contextual Substitutions")); + rows.add (row); + } + ligatures.get_contextual_ligatures ((liga) => { row = new Row.columns_4 (liga.ligatures, liga.backtrack, liga.input, liga.lookahead, i); rows.add (row); i++; }); + + if (ligatures.ligatures.size > 0) { + row = new Row.headline (t_("Ligatures")); + rows.add (row); + } ligatures.get_ligatures ((subst, liga) => { row = new Row.columns_3 (liga, "", subst, i);