The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Display name for ligatures in overview

Changes made to libbirdfont/OverViewItem.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/OverViewItem.vala +++ 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 (); }