Home
last modified time | relevance | path

Searched refs:platEncID (Results 1 – 25 of 27) sorted by relevance

12

/external/fonttools/Lib/fontTools/ttLib/tables/
D_n_a_m_e.py94 def getName(self, nameID, platformID, platEncID, langID=None): argument
98 namerecord.platEncID == platEncID):
124 def setName(self, string, nameID, platformID, platEncID, langID): argument
144 namerecord = self.getName(nameID, platformID, platEncID, langID)
148 self.names.append(makeName(string, nameID, platformID, platEncID, langID))
150 def removeNames(self, nameID=None, platformID=None, platEncID=None, langID=None): argument
159 ("platEncID", platEncID),
215 windowsName.platEncID,
222 macName.platEncID,
230 name.platEncID, name.langID)
[all …]
D_c_m_a_p.py32 def getcmap(self, platformID, platEncID): argument
35 subtable.platEncID == platEncID):
48 for platformID, platEncID in cmapPreferences:
49 cmapSubtable = self.getcmap(platformID, platEncID)
75 platformID, platEncID, offset = struct.unpack(
77 platformID, platEncID = int(platformID), int(platEncID)
88 platformID, platEncID, format, offset)
92 table.platEncID = platEncID
122 data = data + struct.pack(">HHl", table.platformID, table.platEncID, offset)
142 table.platEncID = safeEval(attrs["platEncID"])
[all …]
/external/fonttools/Tests/
Dmerge_test.py62 def makeSubtable(self, format, platformID, platEncID, cmap): argument
66 subtable.platEncID,
68 subtable.cmap) = (platformID, platEncID, 0, cmap)
93 …self.assertEqual([(table.format, table.platformID, table.platEncID, table.language) for table in m…
115 self.assertEqual((table.format, table.platformID, table.platEncID, table.language), (4,3,1,0))
/external/fonttools/Lib/fontTools/misc/
DencodingTools.py63 def getEncoding(platformID, platEncID, langID, default=None): argument
68 encoding = _encodingMap.get(platformID, {}).get(platEncID, default)
/external/fonttools/Lib/fontTools/feaLib/
Dparser.py988 platformID, platEncID, langID, string = self.parse_name_()
990 "size", platformID, platEncID, langID, string, location=location
1136 platEncID = None
1144 platEncID = self.expect_any_number_()
1151 platEncID = platEncID or 0 # Roman
1154 platEncID = platEncID or 1 # Unicode
1160 encoding = getEncoding(platformID, platEncID, langID)
1164 return platformID, platEncID, langID, unescaped
1167 platEncID = None
1175 platEncID = self.expect_any_number_()
[all …]
Dast.py1648 def __init__(self, nameID, platformID, platEncID, langID, string, location=None): argument
1652 self.platEncID = platEncID #: Platform encoding ID as integer
1662 self.platEncID,
1675 encoding = getEncoding(self.platformID, self.platEncID, self.langID)
1688 plat = simplify_name_attributes(self.platformID, self.platEncID, self.langID)
1707 plat = simplify_name_attributes(self.platformID, self.platEncID, self.langID)
1717 plat = simplify_name_attributes(self.platformID, self.platEncID, self.langID)
1754 self, nameID, platformID, platEncID, langID, string, block_name, location=None argument
1757 self, nameID, platformID, platEncID, langID, string, location=location
1771 plat = simplify_name_attributes(self.platformID, self.platEncID, self.langID)
Dbuilder.py418 nameID, platformID, platEncID, langID, string = name
433 table.setName(string, nameID, platformID, platEncID, langID)
1436 def add_name_record(self, location, nameID, platformID, platEncID, langID, string): argument
1437 self.names_.append([nameID, platformID, platEncID, langID, string])
/external/fonttools/Snippets/
Dcmap-format.py32 newtable.platEncID = table.platEncID
Dinterpolate.py60 namerec.platformID, namerec.platEncID, namerec.langID = (1, 0, 0)
Drename-fonts.py41 platEncID=enc_id,
Dname-viewer.ipynb52 " record.platEncID, \n",
/external/fonttools/Tests/ttLib/tables/
D_c_m_a_p_test.py21 def makeSubtable(self, cmapFormat, platformID, platEncID, langID): argument
23 subtable.platformID, subtable.platEncID, subtable.language = (platformID, platEncID, langID)
DO_S_2f_2_test.py35 st.platformID, st.platEncID, st.language = 3, 1, 0
D_f_v_a_r_test.py42 namerec.platformID, namerec.platEncID, namerec.langID = (1, 0, 0)
D_t_r_a_k_test.py333 namerec.platformID, namerec.platEncID, namerec.langID = (1, 0, 0)
D_n_a_m_e_test.py15 result = [(n.nameID, n.platformID, n.platEncID, n.langID, n.string)
/external/fonttools/Lib/fontTools/varLib/instancer/
Dnames.py204 platforms = set((r.platformID, r.platEncID, r.langID) for r in nametable.names)
258 platEncID=1, argument
264 platform = (platformID, platEncID, langID)
/external/noto-fonts/other/
Dsubset_noto_sans_symbols.py150 if (name.nameID == 6 and name.platformID == 3 and name.platEncID == 1
/external/fonttools/Lib/fontTools/
DfontBuilder.py884 def buildCmapSubTable(cmapping, format, platformID, platEncID): argument
888 subTable.platEncID = platEncID
Dmerge.py403 properties = (subtable.format, subtable.platformID, subtable.platEncID)
412 fontIdx, subtable.format, subtable.platformID, subtable.platEncID
455 cmapTable.platEncID = 10
462 cmapTable.platEncID = 1
/external/fonttools/Tests/varLib/instancer/
Dnames_test.py35 (r.nameID, r.platformID, r.platEncID, r.langID): r.toUnicode()
/external/noto-fonts/scripts/
Dcolor_emoji_image_diff.py37 if table.format == 12 and table.platformID == 3 and table.platEncID == 10:
/external/fonttools/Tests/feaLib/
Dparser_test.py1119 self.assertEqual(name.platEncID, 1)
1150 self.assertEqual(name.platEncID, 0)
1162 self.assertEqual(name.platEncID, 0)
1178 self.assertEqual(name.platEncID, 1)
1187 self.assertEqual(name.platEncID, 10)
/external/noto-fonts/emoji-compat/
Dcreatefont.py522 if table.format == 12 and table.platformID == 3 and table.platEncID == 10:
/external/fonttools/Lib/fontTools/subset/
D__init__.py2320 if t.platformID == 0 and t.platEncID == 3:
2322 if t.platformID == 3 and t.platEncID == 1:
2349 and t.platEncID == 4 # Unicode full repertoire
2356 and t.platEncID == 10 # Unicode full repertoire

12