Searched refs:getBestCmap (Results 1 – 6 of 6) sorted by relevance
123 self.assertEqual(cmap.getBestCmap(), {0x10314: 'u10314'})124 self.assertEqual(cmap.getBestCmap(cmapPreferences=[(3, 1)]), {0x0041:'A', 0x0391:'A'})125 self.assertEqual(cmap.getBestCmap(cmapPreferences=[(0, 4)]), None)136 self.assertEqual(font.getBestCmap(), {0x10314: 'u10314'})137 self.assertEqual(font.getBestCmap(cmapPreferences=[(3, 1)]), {0x0041:'A', 0x0391:'A'})138 self.assertEqual(font.getBestCmap(cmapPreferences=[(0, 4)]), None)
685 …def getBestCmap(self, cmapPreferences=((3, 10), (0, 6), (0, 4), (3, 1), (0, 3), (0, 2), (0, 1), (0… member in TTFont694 return self["cmap"].getBestCmap(cmapPreferences=cmapPreferences)
40 …def getBestCmap(self, cmapPreferences=((3, 10), (0, 6), (0, 4), (3, 1), (0, 3), (0, 2), (0, 1), (0… member in table__c_m_a_p
676 - [ttLib] Added getBestCmap() convenience method to TTFont class and cmap table
1093 - [ttLib] Added getBestCmap() convenience method to TTFont class and cmap table