The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Enable contextual ligatures by default

These changes was commited to the Birdfont repository Wed, 25 Mar 2015 18:18:39 +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, 25 Mar 2015 18:18:39 +0000]

Updated Files

libbirdfont/LigatureList.vala
--- a/libbirdfont/LigatureList.vala +++ b/libbirdfont/LigatureList.vala @@ -53,10 +53,8 @@ add_ligature (t_("character sequence"), t_("ligature")); TabContent.hide_text_input (); } else if (row.get_index () == NEW_LIGATURE && column == 1) { - if (BirdFont.has_argument ("--test")) { - add_contextual_ligature (t_("substitution"), t_("beginning"), t_("middle"), t_("end")); - TabContent.hide_text_input (); - } + add_contextual_ligature (t_("substitution"), t_("beginning"), t_("middle"), t_("end")); + TabContent.hide_text_input (); } else if (row.get_index () < ncontextual) { i = row.get_index (); if (i < ligatures.count_contextual_ligatures ()) {