The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – 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
[Tue, 31 Oct 2017 17:11:35 +0000]

Updated 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") {