Lines Matching refs:glif
29 …glif = writeGlyphToString(glyph.name, glyphObject=glyph, drawPointsFunc=glyph.drawPoints, formatVe…
31 return "\n".join(islice(glif.splitlines(), 1, None))
33 def glifToPy(self, glif): argument
34 glif = stripText(glif)
35 glif = "<?xml version=\"1.0\"?>\n" + glif
37 readGlyphFromString(glif, glyphObject=glyph, pointPen=glyph, validate=True)
42 glif = """
48 self.assertRaises(GlifLibError, self.glifToPy, glif)
52 glif = """
62 resultPy = self.glifToPy(glif)
63 self.assertEqual(glif, resultGlif)
68 glif = """
78 self.assertRaises(GlifLibError, self.glifToPy, glif)
89 glif = """
99 resultPy = self.glifToPy(glif)
100 self.assertEqual(glif, resultGlif)
105 glif = """
111 self.assertRaises(GlifLibError, self.glifToPy, glif)
115 glif = """
121 self.assertRaises(GlifLibError, self.glifToPy, glif)
125 glif = """
130 self.assertRaises(GlifLibError, self.glifToPy, glif)
134 glif = """
139 self.assertRaises(GlifLibError, self.glifToPy, glif)
143 glif = """
156 resultPy = self.glifToPy(glif)
157 self.assertEqual(glif, resultGlif)
162 glif = """
175 resultPy = self.glifToPy(glif)
176 self.assertEqual(glif, resultGlif)
181 glif = """
193 resultPy = self.glifToPy(glif)
194 self.assertEqual(glif, resultGlif)
199 glif = """
211 resultPy = self.glifToPy(glif)
212 self.assertEqual(glif, resultGlif)
217 glif = """
229 self.assertRaises(GlifLibError, self.glifToPy, glif)
232 glif = """
244 self.assertRaises(GlifLibError, self.glifToPy, glif)
248 glif = """
260 resultPy = self.glifToPy(glif)
261 self.assertEqual(glif, resultGlif)
265 glif = """
279 resultPy = self.glifToPy(glif)
280 self.assertEqual(glif, resultGlif)
285 glif = """
297 self.assertRaises(GlifLibError, self.glifToPy, glif)
300 glif = """
314 resultPy = self.glifToPy(glif)
315 self.assertEqual(glif, resultGlif)
319 glif = """
352 resultPy = self.glifToPy(glif)
353 self.assertEqual(glif, resultGlif)
358 glif = """
365 self.assertRaises(GlifLibError, self.glifToPy, glif)
369 glif = """
376 self.assertRaises(GlifLibError, self.glifToPy, glif)
380 glif = """
392 resultPy = self.glifToPy(glif)
393 self.assertEqual(glif, resultGlif)
398 glif = """
405 self.assertRaises(GlifLibError, self.glifToPy, glif)
409 glif = """
421 self.assertRaises(GlifLibError, self.glifToPy, glif)
422 glif = """
434 self.assertRaises(GlifLibError, self.glifToPy, glif)
435 glif = """
447 self.assertRaises(GlifLibError, self.glifToPy, glif)
448 glif = """
460 self.assertRaises(GlifLibError, self.glifToPy, glif)
461 glif = """
473 self.assertRaises(GlifLibError, self.glifToPy, glif)
474 glif = """
486 self.assertRaises(GlifLibError, self.glifToPy, glif)
490 glif = """
504 resultPy = self.glifToPy(glif)
505 self.assertEqual(glif, resultGlif)
510 glif = """
536 resultPy = self.glifToPy(glif)
537 self.assertEqual(glif, resultGlif)
542 glif = """
551 self.assertRaises(GlifLibError, self.glifToPy, glif)
555 glif = """
573 resultPy = self.glifToPy(glif)
574 self.assertEqual(glif, resultGlif)
579 glif = """
597 resultPy = self.glifToPy(glif)
598 self.assertEqual(glif, resultGlif)
603 glif = """
621 self.assertRaises(GlifLibError, self.glifToPy, glif)
625 glif = """
643 self.assertRaises(GlifLibError, self.glifToPy, glif)
647 glif = """
665 resultPy = self.glifToPy(glif)
666 self.assertEqual(glif, resultGlif)
671 glif = """
689 resultPy = self.glifToPy(glif)
690 self.assertEqual(glif, resultGlif)
695 glif = """
713 self.assertRaises(GlifLibError, self.glifToPy, glif)
717 glif = """
735 resultPy = self.glifToPy(glif)
736 self.assertEqual(glif, resultGlif)
741 glif = """
759 resultPy = self.glifToPy(glif)
760 self.assertEqual(glif, resultGlif)
765 glif = """
783 resultPy = self.glifToPy(glif)
784 self.assertEqual(glif, resultGlif)
789 glif = """
811 resultPy = self.glifToPy(glif)
812 self.assertEqual(glif, resultGlif)
817 glif = """
837 resultPy = self.glifToPy(glif)
838 self.assertEqual(glif, resultGlif)
843 glif = """
865 resultPy = self.glifToPy(glif)
866 self.assertEqual(glif, resultGlif)
871 glif = """
889 resultPy = self.glifToPy(glif)
890 self.assertEqual(glif, resultGlif)
895 glif = """
915 resultPy = self.glifToPy(glif)
916 self.assertEqual(glif, resultGlif)
921 glif = """
945 self.assertRaises(GlifLibError, self.glifToPy, glif)
949 glif = """
971 resultPy = self.glifToPy(glif)
972 self.assertEqual(glif, resultGlif)
977 glif = """
997 resultPy = self.glifToPy(glif)
998 self.assertEqual(glif, resultGlif)
1003 glif = """
1025 resultPy = self.glifToPy(glif)
1026 self.assertEqual(glif, resultGlif)
1031 glif = """
1049 resultPy = self.glifToPy(glif)
1050 self.assertEqual(glif, resultGlif)
1055 glif = """
1075 resultPy = self.glifToPy(glif)
1076 self.assertEqual(glif, resultGlif)
1081 glif = """
1105 resultPy = self.glifToPy(glif)
1106 self.assertEqual(glif, resultGlif)
1111 glif = """
1133 resultPy = self.glifToPy(glif)
1134 self.assertEqual(glif, resultGlif)
1139 glif = """
1161 resultPy = self.glifToPy(glif)
1162 self.assertEqual(glif, resultGlif)
1167 glif = """
1187 resultPy = self.glifToPy(glif)
1188 self.assertEqual(glif, resultGlif)
1193 glif = """
1211 self.assertRaises(GlifLibError, self.glifToPy, glif)
1215 glif = """
1233 self.assertRaises(GlifLibError, self.glifToPy, glif)
1237 glif = """
1255 self.assertRaises(GlifLibError, self.glifToPy, glif)
1260 glif = """
1276 resultPy = self.glifToPy(glif)
1277 self.assertEqual(glif, resultGlif)
1281 glif = """
1295 resultPy = self.glifToPy(glif)
1296 self.assertEqual(glif, resultGlif)
1301 glif = """
1323 resultPy = self.glifToPy(glif)