Searched refs:NO_NAME_ID (Results 1 – 4 of 4) sorted by relevance
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | C_P_A_L_.py | 16 NO_NAME_ID = 0xFFFF variable in table_C_P_A_L_ 54 data, offsetToPaletteLabelArray, numPalettes, default=self.NO_NAME_ID) 57 self.numPaletteEntries, default=self.NO_NAME_ID) 143 if self.version == 0 or all(l == self.NO_NAME_ID for l in self.paletteLabels): 152 if self.version == 0 or all(l == self.NO_NAME_ID for l in self.paletteEntryLabels): 173 paletteLabel = paletteLabels.get(index, self.NO_NAME_ID) 174 if self.version > 0 and paletteLabel != self.NO_NAME_ID: 180 if (self.version > 0 and paletteLabel != self.NO_NAME_ID and 191 if self.version > 0 and not all(l == self.NO_NAME_ID for l in self.paletteEntryLabels): 195 if label != self.NO_NAME_ID: [all …]
|
/external/fonttools/Tests/ttLib/tables/ |
D | C_P_A_L_test.py | 88 self.assertEqual(cpal.paletteLabels, [cpal.NO_NAME_ID] * len(cpal.palettes)) 91 [cpal.NO_NAME_ID] * cpal.numPaletteEntries) 213 [cpal.NO_NAME_ID, 262, cpal.NO_NAME_ID])
|
/external/fonttools/Lib/fontTools/colorLib/ |
D | builder.py | 262 else C_P_A_L_.table_C_P_A_L_.NO_NAME_ID 344 cpal.paletteLabels = [C_P_A_L_.table_C_P_A_L_.NO_NAME_ID] * len(palettes) 355 C_P_A_L_.table_C_P_A_L_.NO_NAME_ID
|
/external/fonttools/Tests/colorLib/ |
D | builder_test.py | 146 assert cpal.paletteLabels == [cpal.NO_NAME_ID] * len(palettes) 147 assert cpal.paletteEntryLabels == [cpal.NO_NAME_ID] * cpal.numPaletteEntries 180 assert cpal.paletteLabels == [256, 257, cpal.NO_NAME_ID]
|