/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _n_a_m_e.py | 96 def getName(self, nameID, platformID, platEncID, langID=None): argument 98 if ( namerecord.nameID == nameID and 105 def getDebugName(self, nameID): argument 108 if name.nameID != nameID: 126 def setName(self, string, nameID, platformID, platEncID, langID): argument 146 namerecord = self.getName(nameID, platformID, platEncID, langID) 150 self.names.append(makeName(string, nameID, platformID, platEncID, langID)) 159 nameID = 1 + max([n.nameID for n in names] + [minNameID - 1]) 160 if nameID > 32767: 162 return nameID [all …]
|
D | C_P_A_L_.py | 159 paletteLabels = {i: nameID 160 for (i, nameID) in enumerate(self.paletteLabels)} 222 nameID = safeEval(elementAttr["value"]) 223 colorLabels[labelIndex] = nameID
|
/external/fonttools/Tests/ttLib/tables/ |
D | _t_r_a_k_test.py | 273 add_name(self.font, 'Tight', nameID=275) 274 add_name(self.font, 'Normal', nameID=303) 275 add_name(self.font, 'Loose', nameID=276) 284 add_name(self.font, 'Tight', nameID=262) 285 add_name(self.font, 'Normal', nameID=263) 286 add_name(self.font, 'Loose', nameID=264) 287 add_name(self.font, 'Tight', nameID=265) 288 add_name(self.font, 'Normal', nameID=266) 289 add_name(self.font, 'Loose', nameID=267) 297 add_name(self.font, 'Tight', nameID=265) [all …]
|
D | _f_v_a_r_test.py | 41 namerec.nameID = 1 + max([n.nameID for n in nameTable.names] + [256]) 58 axis.axisNameID = AddName(font, name).nameID 62 inst.subfamilyNameID = AddName(font, name).nameID 130 AddName(font, "Optical Size").nameID = 256 203 inst.subfamilyNameID = AddName(font, "Light Condensed").nameID 204 inst.postscriptNameID = AddName(font, "Test-LightCondensed").nameID 223 inst.subfamilyNameID = AddName(font, "Light Condensed").nameID
|
D | C_P_A_L_test.py | 58 def getDebugName(self, nameID): argument 59 return self.names.get(nameID)
|
/external/fonttools/Snippets/ |
D | interpolate.py | 39 weight.nameID = AddName(font, "Weight").nameID 51 inst.nameID = AddName(font, name).nameID 60 namerec.nameID = 1 + max([n.nameID for n in nameTable.names] + [256])
|
D | rename-fonts.py | 40 nameID=name_id, 94 name_id = rec.nameID
|
/external/icu/icu4c/source/test/letest/ |
D | cfonts.cpp | 38 const char *le_getNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_uint16 encodin… in le_getNameString() argument 42 return pfi->getNameString(nameID, platform, encoding, language); in le_getNameString() 45 const LEUnicode16 *le_getUnicodeNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_… in le_getUnicodeNameString() argument 49 return pfi->getUnicodeNameString(nameID, platform, encoding, language); in le_getUnicodeNameString()
|
D | PortableFontInstance.cpp | 283 const char *PortableFontInstance::getNameString(le_uint16 nameID, le_uint16 platformID, le_uint16 e… in getNameString() argument 301 SWAPW(nameRecord->languageID) == languageID && SWAPW(nameRecord->nameID) == nameID) { in getNameString() 316 const LEUnicode16 *PortableFontInstance::getUnicodeNameString(le_uint16 nameID, le_uint16 platformI… in getUnicodeNameString() argument 334 SWAPW(nameRecord->languageID) == languageID && SWAPW(nameRecord->nameID) == nameID) { in getUnicodeNameString()
|
D | cfonts.h | 26 const char *le_getNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_uint16 encodin… 28 const LEUnicode16 *le_getUnicodeNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_…
|
D | PortableFontInstance.h | 78 …virtual const char *getNameString(le_uint16 nameID, le_uint16 platform, le_uint16 encoding, le_uin… 80 …virtual const LEUnicode16 *getUnicodeNameString(le_uint16 nameID, le_uint16 platform, le_uint16 en…
|
/external/icu/icu4c/source/test/perf/leperf/ |
D | cfonts.cpp | 37 const char *le_getNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_uint16 encodin… in le_getNameString() argument 41 return pfi->getNameString(nameID, platform, encoding, language); in le_getNameString() 44 const LEUnicode16 *le_getUnicodeNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_… in le_getUnicodeNameString() argument 48 return pfi->getUnicodeNameString(nameID, platform, encoding, language); in le_getUnicodeNameString()
|
D | PortableFontInstance.cpp | 291 const char *PortableFontInstance::getNameString(le_uint16 nameID, le_uint16 platformID, le_uint16 e… in getNameString() argument 309 SWAPW(nameRecord->languageID) == languageID && SWAPW(nameRecord->nameID) == nameID) { in getNameString() 324 const LEUnicode16 *PortableFontInstance::getUnicodeNameString(le_uint16 nameID, le_uint16 platformI… in getUnicodeNameString() argument 342 SWAPW(nameRecord->languageID) == languageID && SWAPW(nameRecord->nameID) == nameID) { in getUnicodeNameString()
|
D | cfonts.h | 25 const char *le_getNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_uint16 encodin… 27 const LEUnicode16 *le_getUnicodeNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_…
|
D | PortableFontInstance.h | 83 …virtual const char *getNameString(le_uint16 nameID, le_uint16 platform, le_uint16 encoding, le_uin… 85 …virtual const LEUnicode16 *getUnicodeNameString(le_uint16 nameID, le_uint16 platform, le_uint16 en…
|
/external/fonttools/Lib/fontTools/feaLib/ |
D | ast.py | 1195 def __init__(self, nameID, platformID, platEncID, langID, string, argument 1198 self.nameID = nameID 1206 self.location, self.nameID, self.platformID, 1230 return "nameid {} {}\"{}\";".format(self.nameID, plat, escaped_string) 1236 builder.add_featureName(self.nameID) 1239 if self.nameID == "size": 1270 def __init__(self, nameID, platformID, platEncID, langID, string, argument 1272 NameRecord.__init__(self, nameID, platformID, platEncID, langID, 1279 item = "_{}".format(builder.cv_num_named_params_.get(self.nameID, 0)) 1280 builder.add_cv_parameter(self.nameID) [all …]
|
D | builder.py | 277 nameIDs = [name.nameID for name in table.names] 325 nameID, platformID, platEncID, langID, string = name 328 if not isinstance(nameID, int): 329 tag = nameID 334 nameID = self.featureNames_ids_[tag] 339 nameID = self.cv_parameters_ids_[tag] 340 table.setName(string, nameID, platformID, platEncID, langID) 1056 def add_name_record(self, location, nameID, platformID, platEncID, argument 1058 self.names_.append([nameID, platformID, platEncID, langID, string])
|
/external/skia/tests/ |
D | FontNamesTest.cpp | 89 SkOTTableName::Record::NameID nameID; member 119 SkOTTableName::Iterator iter(test.data, test.size, test.nameID.predefined.value); in test_synthetic()
|
/external/skia/src/sfnt/ |
D | SkOTTable_name.cpp | 486 } while (fType != -1 && nameRecord.nameID.fontSpecific != fType); in next() 488 record.type = nameRecord.nameID.fontSpecific; in next()
|
/external/skqp/tests/ |
D | FontNamesTest.cpp | 89 SkOTTableName::Record::NameID nameID; member 119 SkOTTableName::Iterator iter(test.data, test.size, test.nameID.predefined.value); in test_synthetic()
|
/external/skqp/src/sfnt/ |
D | SkOTTable_name.cpp | 486 } while (fType != -1 && nameRecord.nameID.fontSpecific != fType); in next() 488 record.type = nameRecord.nameID.fontSpecific; in next()
|
/external/harfbuzz_ng/src/ |
D | hb-ot-name-table.hh | 106 HBUINT16 nameID; /* Name ID. */ member 197 entry->name_id = all_names[i].nameID; in init()
|
D | hb-ot-stat-table.hh | 217 NameID nameID; /* The name ID for entries in the 'name' table that member
|
/external/fonttools/Lib/fontTools/ |
D | fontBuilder.py | 461 nameID = nameName 463 nameID = _nameIDs[nameName] 467 nameValue, ttFont=self.font, nameID=nameID, windows=windows, mac=mac
|
/external/fonttools/Tests/ufoLib/ |
D | testSupport.py | 350 dict(nameID=1, platformID=1, encodingID=1, languageID=1, string="Name Record."), 351 dict(nameID=2, platformID=1, encodingID=1, languageID=1, string="Name Record.")
|