Home
last modified time | relevance | path

Searched refs:safeEval (Results 1 – 25 of 49) sorted by relevance

12

/external/fonttools/Lib/fontTools/ttLib/tables/
DV_D_M_X_.py3 from fontTools.misc.textTools import safeEval
189 self.version = safeEval(attrs["value"])
203 "bCharSet": safeEval(attrs["bCharSet"]),
204 "xRatio": safeEval(attrs["xRatio"]),
205 "yStartRatio": safeEval(attrs["yStartRatio"]),
206 "yEndRatio": safeEval(attrs["yEndRatio"]),
207 "groupIndex": safeEval(attrs["groupIndex"])
228 yPelHeight = safeEval(attrs["yPelHeight"])
229 yMax = safeEval(attrs["yMax"])
230 yMin = safeEval(attrs["yMin"])
DD_S_I_G_.py2 from fontTools.misc.textTools import safeEval
91 self.ulVersion = safeEval(attrs["version"])
92 self.usNumSigs = safeEval(attrs["numSigs"])
93 self.usFlag = safeEval(attrs["flag"])
127 self.ulFormat = safeEval(attrs["format"])
128 self.usReserved1 = safeEval(attrs.get("reserved1", "0"))
129 self.usReserved2 = safeEval(attrs.get("reserved2", "0"))
DsbixStrike.py2 from fontTools.misc.textTools import safeEval
113 setattr(self, name, safeEval(attrs["value"]))
116 myFormat = safeEval("'''" + attrs["graphicType"] + "'''")
120 myGlyphName = safeEval("'''" + attrs["glyphname"] + "'''")
122 myGlyphName = safeEval("'''" + attrs["name"] + "'''")
127 myOffsetX = safeEval(attrs["originOffsetX"])
131 myOffsetY = safeEval(attrs["originOffsetY"])
DF__e_a_t.py3 from fontTools.misc.textTools import safeEval
95 self.version = float(safeEval(attrs['version']))
99 fobj.flags = int(safeEval(attrs['flags']))
100 fobj.label = int(safeEval(attrs['label']))
101 fobj.default = int(safeEval(attrs.get('default','0')))
109 fobj.settings[int(safeEval(a['value']))] = int(safeEval(a['label']))
D_g_a_s_p.py1 from fontTools.misc.textTools import safeEval
49 self.gaspRange[safeEval(attrs["rangeMaxPPEM"])] = safeEval(attrs["rangeGaspBehavior"])
D_c_v_t.py1 from fontTools.misc.textTools import safeEval
29 index = safeEval(attrs["index"])
30 value = safeEval(attrs["value"])
D_k_e_r_n.py2 from fontTools.misc.textTools import safeEval, readHex
93 self.version = safeEval(attrs["value"])
99 format = safeEval(attrs["format"])
229 self.coverage = safeEval(attrs["coverage"])
230 subtableFormat = safeEval(attrs["format"])
233 self.tupleIndex = safeEval(attrs["tupleIndex"])
248 self.kernTable[(attrs["l"], attrs["r"])] = safeEval(attrs["v"])
D_c_m_a_p.py2 from fontTools.misc.textTools import safeEval, readHex
133 self.tableVersion = safeEval(attrs["version"])
139 format = safeEval(name[12:])
141 table.platformID = safeEval(attrs["platformID"])
142 table.platEncID = safeEval(attrs["platEncID"])
274 self.language = safeEval(attrs["language"])
284 cmap[safeEval(attrs["code"])] = attrs["name"]
578 self.language = safeEval(attrs["language"])
589 cmap[safeEval(attrs["code"])] = attrs["name"]
837 self.language = safeEval(attrs["language"])
[all …]
DG__l_a_t.py3 from fontTools.misc.textTools import safeEval
188 self.version = float(safeEval(attrs['version']))
189 self.scheme = int(safeEval(attrs['compressionScheme']))
199 k = int(safeEval(attrs['index']))
200 v = int(safeEval(attrs['value']))
D_f_v_a_r.py9 from fontTools.misc.textTools import safeEval
159 str2fl(value, 16) if tag.endswith("Value") else safeEval(value)
218 self.subfamilyNameID = safeEval(attrs["subfamilyNameID"])
219 self.flags = safeEval(attrs.get("flags", "0"))
221 self.postscriptNameID = safeEval(attrs["postscriptNameID"])
DF_F_T_M_.py2 from fontTools.misc.textTools import safeEval
39 value = safeEval(value)
DBitmapGlyphMetrics.py4 from fontTools.misc.textTools import safeEval
50 vars(self)[name] = safeEval(attrs['value'])
DS__i_l_l.py3 from fontTools.misc.textTools import safeEval
71 self.version = float(safeEval(attrs['version']))
80 int(safeEval(a['val']))))
DE_B_D_T_.py3 from fontTools.misc.textTools import safeEval, readHex, hexStr, deHexStr
152 self.version = safeEval(attrs['version'])
156 strikeIndex = safeEval(attrs['index'])
164 imageFormat = safeEval(name[len(_bitmapGlyphSubclassPrefix):])
200 vars(self)[name] = safeEval(attrs['value'])
285 bitDepth = safeEval(attrs['bitDepth'])
287 metrics.width = safeEval(attrs['width'])
288 metrics.height = safeEval(attrs['height'])
322 bitDepth = safeEval(attrs['bitDepth'])
324 metrics.width = safeEval(attrs['width'])
[all …]
DE_B_L_C_.py4 from fontTools.misc.textTools import safeEval
216 self.version = safeEval(attrs['version'])
220 strikeIndex = safeEval(attrs['index'])
256 indexFormat = safeEval(name[len(_indexSubTableSubclassPrefix):])
300 vars(self)[name] = safeEval(attrs['value'])
323 vars(self)[name] = safeEval(attrs['value'])
378 self.imageFormat = safeEval(attrs['imageFormat'])
379 self.firstGlyphIndex = safeEval(attrs['firstGlyphIndex'])
380 self.lastGlyphIndex = safeEval(attrs['lastGlyphIndex'])
507 self.imageSize = safeEval(attrs['value'])
DT_S_I__5.py6 from fontTools.misc.textTools import safeEval
43 self.glyphGrouping[attrs["name"]] = safeEval(attrs["value"])
DL_T_S_H_.py1 from fontTools.misc.textTools import safeEval
48 self.yPels[attrs["name"]] = safeEval(attrs["value"])
D_t_r_a_k.py9 from fontTools.misc.textTools import safeEval
112 self.version = safeEval(attrs['value'])
114 self.format = safeEval(attrs['value'])
275 self.nameIndex = safeEval(attrs['nameIndex'])
283 self[size] = safeEval(attrs['value'])
DG_M_A_P_.py3 from fontTools.misc.textTools import safeEval
57 setattr(self, name, safeEval(value))
127 setattr(self, name, safeEval(value))
D_h_m_t_x.py3 from fontTools.misc.textTools import safeEval
128 self.metrics[attrs["name"]] = (safeEval(attrs[self.advanceName]),
129 safeEval(attrs[self.sideBearingName]))
D_n_a_m_e.py4 from fontTools.misc.textTools import safeEval
511 self.nameID = safeEval(attrs["nameID"])
512 self.platformID = safeEval(attrs["platformID"])
513 self.platEncID = safeEval(attrs["platEncID"])
514 self.langID = safeEval(attrs["langID"])
517 if self.encodingIsUnicodeCompatible() or safeEval(attrs.get("unicode", "False")):
DC_O_L_R_.py5 from fontTools.misc.textTools import safeEval
101 setattr(self, name, safeEval(attrs["value"]))
158 setattr(self, name, safeEval(value))
DV_O_R_G_.py2 from fontTools.misc.textTools import safeEval
92 setattr(self, name, safeEval(attrs["value"]))
138 setattr(self, name, safeEval(value))
D_l_t_a_g.py2 from fontTools.misc.textTools import safeEval
63 value = safeEval(attrs["value"])
DG__l_o_c.py2 from fontTools.misc.textTools import safeEval
62 self.numAttribs = int(safeEval(attrs['number']))

12