otConverters_test.py | 16 converter = otConverters.Char64("char64", 0, None, None) variable in class:Char64Test 20 self.assertEqual(self.converter.read(reader, self.font, {}), "Hello") 26 data = self.converter.read(reader, self.font, {}) 34 self.converter.write(writer, self.font, {}, "Hello world") 40 self.converter.write(writer, self.font, {}, "Hello ?") 48 self.converter.write(writer, self.font, {}, "A" * 80) 54 value = self.converter.xmlRead({"value": "Foo"}, [], self.font) 59 self.converter.xmlWrite(writer, self.font, "Hello world", "Element", 67 converter = otConverters.GlyphID('GlyphID', 0, None, None) variable in class:GlyphIDTest 71 self.assertEqual(self.converter.readArray(reader, self.font, {}, 4) 88 converter = otConverters.Long('Long', 0, None, None) variable in class:LongTest 112 converter = otConverters.NameID('NameID', 0, None, None) variable in class:NameIDTest 163 converter = otConverters.UInt8("UInt8", 0, None, None) variable in class:UInt8Test 188 converter = otConverters.AATLookup("AATLookup", 0, None, variable in class:AATLookupTest [all...] |