The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Ignore control characters

These changes was commited to the Birdfont repository Tue, 18 Aug 2015 12:47:34 +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>
Tue, 18 Aug 2015 12:47:34 +0000 (14:47 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Tue, 18 Aug 2015 12:47:34 +0000 (14:47 +0200)
commit 62c495501e27f0ebfd60c0e3fac67f1ca174b202
tree 08cd9e572fe3db0037bf7efa82fdcb612564233b
parent 2f84a989f27471c58597dbfdc0d7ba74dd523dd8
Ignore control characters

libbirdfont/OverView.vala
--- a/libbirdfont/OverView.vala +++ b/libbirdfont/OverView.vala @@ -101,6 +101,11 @@ }); this.open_new_glyph_signal.connect ((character) => { + // ignore control characters + if (character <= 0x1F) { + return; + } + create_new_glyph (character); }); }