Searched refs:minNameID (Results 1 – 4 of 4) sorted by relevance
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _n_a_m_e.py | 175 def _findUnusedNameID(self, minNameID=256): argument 182 nameID = 1 + max([n.nameID for n in names] + [minNameID - 1]) 187 def findMultilingualName(self, names, windows=True, mac=True, minNameID=0): argument 233 if key in reqNameSet and name.nameID >= minNameID: 245 windows=True, mac=True, minNameID=0): argument 273 names, windows=windows, mac=mac, minNameID=minNameID) 295 def addName(self, string, platforms=((1, 0, 0), (3, 1, 0x409)), minNameID=255): argument 316 nameID = self._findUnusedNameID(minNameID + 1)
|
/external/fonttools/Tests/ttLib/tables/ |
D | _n_a_m_e_test.py | 94 table.addName('Invalid nameID', minNameID=32767) 304 nameID = table.addMultilingualName(names, minNameID=256) 306 self.assertEqual(nameID, table.findMultilingualName(names, minNameID=256))
|
/external/fonttools/Lib/fontTools/otlLib/ |
D | builder.py | 2797 def _addName(nameTable, value, minNameID=0): argument 2821 return nameTable.addMultilingualName(names, minNameID=minNameID)
|
/external/fonttools/Lib/fontTools/varLib/ |
D | __init__.py | 79 axis.axisNameID = nameTable.addMultilingualName(a.labelNames, font, minNameID=256)
|