Home
last modified time | relevance | path

Searched refs:newlinestr (Results 1 – 15 of 15) sorted by relevance

/external/fonttools/Lib/fontTools/misc/
DxmlWriter.py14 newlinestr=None): argument
40 if newlinestr is None:
41 self.newlinestr = self.totype(os.linesep)
43 self.newlinestr = self.totype(newlinestr)
92 self.file.write(self.newlinestr)
DtestTools.py101 def makeXMLWriter(newlinestr='\n'): argument
103 writer = XMLWriter(BytesIO(), newlinestr=newlinestr)
/external/fonttools/Lib/fontTools/
Dttx.py125 newlinestr = None variable in Options
196 self.newlinestr = "\n"
198 self.newlinestr = "\r"
200 self.newlinestr = "\r\n"
271 newlinestr=options.newlinestr)
/external/fonttools/Lib/fontTools/ttLib/
DttCollection.py79 def saveXML(self, fileOrPath, newlinestr=None, writeVersion=True, **kwargs): argument
82 writer = xmlWriter.XMLWriter(fileOrPath, newlinestr=newlinestr)
DttFont.py218 def saveXML(self, fileOrPath, newlinestr=None, **kwargs): argument
227 writer = xmlWriter.XMLWriter(fileOrPath, newlinestr=newlinestr)
275 newlinestr=writer.newlinestr)
/external/fonttools/Tests/mtiLib/
Dmti_test.py185 writer = XMLWriter(StringIO(), newlinestr='\n')
192 writer = XMLWriter(StringIO(), newlinestr='\n')
211 writer = XMLWriter(StringIO(), newlinestr='\n')
/external/fonttools/Tests/ttLib/tables/
DttProgram_test.py107 writer = XMLWriter(buf, newlinestr='\n')
Dtables_test.py257 font.saveXML(f, newlinestr='\n', tables=[tableTag])
D_n_a_m_e_test.py357 return xml.split(writer.newlinestr.decode("utf_8"))[1:]
/external/fonttools/Snippets/
Dchecksum.py34 … tt.saveXML(temp_ttx_path, newlinestr="\n", skipTables=exclude_tables, tables=include_tables)
/external/fonttools/Tests/misc/
DxmlWriter_test.py113 writer = XMLWriter(BytesIO(), newlinestr=nls)
/external/fonttools/Tests/ttx/
Dttx_test.py457 assert tto.newlinestr == "\n"
462 assert tto.newlinestr == "\r"
467 assert tto.newlinestr == "\r\n"
/external/fonttools/Lib/fontTools/ttLib/tables/
D_g_l_y_f.py162 newlinestr=writer.newlinestr)
/external/fonttools/Tests/varLib/instancer/
Dinstancer_test.py1390 ttFont2.saveXML(s, newlinestr="\n")
/external/fonttools/
DNEWS.rst1664 - [ttLib/xmlWriter] add 'newlinestr=None' keyword argument to