The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Local Xml endode in BG files

These changes was commited to the Birdfont repository Tue, 31 Oct 2017 17:11:35 +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, 31 Oct 2017 17:11:35 +0000 (18:11 +0100)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Tue, 31 Oct 2017 17:11:35 +0000 (18:11 +0100)
commit eab197b30087adf260e43a55e1387e108fbc59a1
tree aab2c29ae05d119b881bd08bbeb21bc63dc7e1c3
parent 14ac6fbce0bab21c4fd403ce7744e821b5132b56
Local Xml endode in BG files

libbirdfont/BirdFontFile.vala
--- a/libbirdfont/BirdFontFile.vala +++ b/libbirdfont/BirdFontFile.vala @@ -759,15 +759,15 @@ } if (t.get_name () == "postscript_name") { - font.postscript_name = XmlParser.decode (t.get_content ()); + font.postscript_name = decode (t.get_content ()); } if (t.get_name () == "name") { - font.name = XmlParser.decode (t.get_content ()); + font.name = decode (t.get_content ()); } if (t.get_name () == "subfamily") { - font.subfamily = XmlParser.decode (t.get_content ()); + font.subfamily = decode (t.get_content ()); } if (t.get_name () == "bold") { @@ -803,7 +803,7 @@ } if (t.get_name () == "license_url") { - font.license_url = XmlParser.decode (t.get_content ()); + font.license_url = decode (t.get_content ()); } if (t.get_name () == "trademark") {