The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Set first glyph version to 1 in GUI (0 in font format)

These changes was commited to the Birdfont repository Thu, 28 May 2015 12:21:48 +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, 28 May 2015 12:21:48 +0000]

Updated Files

libbirdfont/Glyph.vala
libbirdfont/VersionList.vala
--- a/libbirdfont/Glyph.vala +++ b/libbirdfont/Glyph.vala @@ -93,7 +93,7 @@ bool empty = false; /** Id in the version list. */ - public int version_id = 1; + public int version_id = 0; /** Cache quadratic form on export. */ GlyfData? ttf_data = null;
--- a/libbirdfont/VersionList.vala +++ b/libbirdfont/VersionList.vala @@ -247,7 +247,7 @@ v = new_version.version_id; glyphs.add (new_version); - ma = add_item (t_("Version") + @" $v"); + ma = add_item (t_("Version") + @" $(v - 1)"); ma.index = (int) glyphs.size - 1; ma.action.connect ((self) => {