The Birdfont Source Code


All Repositories / birdfont.git / commit – 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
author Johan Mattsson <johan.mattsson.m@gmail.com>
Wed, 25 Mar 2015 18:18:39 +0000 (19:18 +0100)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Wed, 25 Mar 2015 18:18:39 +0000 (19:18 +0100)
commit e5a3b4b369f85f91bc2a5ae5101715362f9fac88
tree a528e6ce27093acfb7310870746eda6980b78f18
parent 60266196014603b971a766d4ead5e636319f656b
Enable contextual ligatures by default

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 ()) {