Remove unnecessary new line after <CFF> tag

No other table does that.
This commit is contained in:
Khaled Hosny 2013-12-10 14:58:33 +02:00 committed by Behdad Esfahbod
parent 283fb26820
commit 522cd11d51

View File

@ -79,7 +79,6 @@ class CFFFontSet(object):
writer.toFile(file)
def toXML(self, xmlWriter, progress=None):
xmlWriter.newline()
for fontName in self.fontNames:
xmlWriter.begintag("CFFFont", name=tostr(fontName))
xmlWriter.newline()
@ -93,7 +92,6 @@ class CFFFontSet(object):
self.GlobalSubrs.toXML(xmlWriter, progress)
xmlWriter.endtag("GlobalSubrs")
xmlWriter.newline()
xmlWriter.newline()
def fromXML(self, name, attrs, content):
if not hasattr(self, "GlobalSubrs"):