The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Display name for ligatures in overview

These changes was commited to the Birdfont repository Thu, 23 Nov 2017 16:46:15 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Thu, 23 Nov 2017 16:46:15 +0000]

Updated Files

libbirdfont/OverViewItem.vala
--- a/libbirdfont/OverViewItem.vala +++ b/libbirdfont/OverViewItem.vala @@ -77,7 +77,12 @@ if (glyphs == null) { label = new Text (); } else { - label = new Text ((!) character.to_string (), 17); + if (character != '\0') { + label = new Text ((!) character.to_string (), 17); + } else { + label = new Text ((!) info.get_name (), 17); + } + truncate_label (); }