Home
last modified time | relevance | path

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

123

/external/fonttools/Lib/fontTools/ttLib/tables/
DV_D_M_X_.py5 from fontTools.misc.textTools import safeEval
191 self.version = safeEval(attrs["value"])
205 "bCharSet": safeEval(attrs["bCharSet"]),
206 "xRatio": safeEval(attrs["xRatio"]),
207 "yStartRatio": safeEval(attrs["yStartRatio"]),
208 "yEndRatio": safeEval(attrs["yEndRatio"]),
209 "groupIndex": safeEval(attrs["groupIndex"])
230 yPelHeight = safeEval(attrs["yPelHeight"])
231 yMax = safeEval(attrs["yMax"])
232 yMin = safeEval(attrs["yMin"])
DD_S_I_G_.py3 from fontTools.misc.textTools import safeEval
92 self.ulVersion = safeEval(attrs["version"])
93 self.usNumSigs = safeEval(attrs["numSigs"])
94 self.usFlag = safeEval(attrs["flag"])
128 self.ulFormat = safeEval(attrs["format"])
129 self.usReserved1 = safeEval(attrs.get("reserved1", "0"))
130 self.usReserved2 = safeEval(attrs.get("reserved2", "0"))
DF__e_a_t.py4 from fontTools.misc.textTools import safeEval
96 self.version = float(safeEval(attrs['version']))
100 fobj.flags = int(safeEval(attrs['flags']))
101 fobj.label = int(safeEval(attrs['label']))
102 fobj.default = int(safeEval(attrs.get('default','0')))
110 fobj.settings[int(safeEval(a['value']))] = int(safeEval(a['label']))
DsbixStrike.py115 setattr(self, name, safeEval(attrs["value"]))
118 myFormat = safeEval("'''" + attrs["graphicType"] + "'''")
122 myGlyphName = safeEval("'''" + attrs["glyphname"] + "'''")
124 myGlyphName = safeEval("'''" + attrs["name"] + "'''")
129 myOffsetX = safeEval(attrs["originOffsetX"])
133 myOffsetY = safeEval(attrs["originOffsetY"])
D_k_e_r_n.py4 from fontTools.misc.textTools import safeEval, readHex
95 self.version = safeEval(attrs["value"])
101 format = safeEval(attrs["format"])
231 self.coverage = safeEval(attrs["coverage"])
232 subtableFormat = safeEval(attrs["format"])
235 self.tupleIndex = safeEval(attrs["tupleIndex"])
250 self.kernTable[(attrs["l"], attrs["r"])] = safeEval(attrs["v"])
D_f_v_a_r.py5 from fontTools.misc.textTools import safeEval, num2binary, binary2num
152 setattr(self, tag[0].lower() + tag[1:], safeEval(value))
210 self.subfamilyNameID = safeEval(attrs["subfamilyNameID"])
211 self.flags = safeEval(attrs.get("flags", "0"))
213 self.postscriptNameID = safeEval(attrs["postscriptNameID"])
219 self.coordinates[elementAttrs["axis"]] = safeEval(elementAttrs["value"])
D_c_v_t.py3 from fontTools.misc.textTools import safeEval
31 index = safeEval(attrs["index"])
32 value = safeEval(attrs["value"])
D_g_a_s_p.py3 from fontTools.misc.textTools import safeEval
51 self.gaspRange[safeEval(attrs["rangeMaxPPEM"])] = safeEval(attrs["rangeGaspBehavior"])
D_t_r_a_k.py5 from fontTools.misc.textTools import safeEval
111 self.version = safeEval(attrs['value'])
113 self.format = safeEval(attrs['value'])
273 self.track = safeEval(attrs['value'])
274 self.nameIndex = safeEval(attrs['nameIndex'])
281 size = safeEval(attrs['size'])
282 self[size] = safeEval(attrs['value'])
D_c_m_a_p.py3 from fontTools.misc.textTools import safeEval, readHex
134 self.tableVersion = safeEval(attrs["version"])
140 format = safeEval(name[12:])
142 table.platformID = safeEval(attrs["platformID"])
143 table.platEncID = safeEval(attrs["platEncID"])
275 self.language = safeEval(attrs["language"])
285 cmap[safeEval(attrs["code"])] = attrs["name"]
579 self.language = safeEval(attrs["language"])
590 cmap[safeEval(attrs["code"])] = attrs["name"]
838 self.language = safeEval(attrs["language"])
[all …]
DG__l_a_t.py4 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']))
DE_B_D_T_.py4 from fontTools.misc.textTools import safeEval, readHex, hexStr, deHexStr
153 self.version = safeEval(attrs['version'])
157 strikeIndex = safeEval(attrs['index'])
165 imageFormat = safeEval(name[len(_bitmapGlyphSubclassPrefix):])
201 vars(self)[name] = safeEval(attrs['value'])
286 bitDepth = safeEval(attrs['bitDepth'])
288 metrics.width = safeEval(attrs['width'])
289 metrics.height = safeEval(attrs['height'])
323 bitDepth = safeEval(attrs['bitDepth'])
325 metrics.width = safeEval(attrs['width'])
[all …]
D_n_a_m_e.py6 from fontTools.misc.textTools import safeEval
429 self.nameID = safeEval(attrs["nameID"])
430 self.platformID = safeEval(attrs["platformID"])
431 self.platEncID = safeEval(attrs["platEncID"])
432 self.langID = safeEval(attrs["langID"])
435 if self.encodingIsUnicodeCompatible() or safeEval(attrs.get("unicode", "False")):
DE_B_L_C_.py5 from fontTools.misc.textTools import safeEval
217 self.version = safeEval(attrs['version'])
221 strikeIndex = safeEval(attrs['index'])
257 indexFormat = safeEval(name[len(_indexSubTableSubclassPrefix):])
301 vars(self)[name] = safeEval(attrs['value'])
324 vars(self)[name] = safeEval(attrs['value'])
379 self.imageFormat = safeEval(attrs['imageFormat'])
380 self.firstGlyphIndex = safeEval(attrs['firstGlyphIndex'])
381 self.lastGlyphIndex = safeEval(attrs['lastGlyphIndex'])
508 self.imageSize = safeEval(attrs['value'])
DS__i_l_l.py4 from fontTools.misc.textTools import safeEval
70 self.version = float(safeEval(attrs['version']))
79 int(safeEval(a['val']))))
D_a_v_a_r.py6 from fontTools.misc.textTools import safeEval
96 fromValue = safeEval(elementAttrs["from"])
97 toValue = safeEval(elementAttrs["to"])
DF_F_T_M_.py4 from fontTools.misc.textTools import safeEval
41 value = safeEval(value)
DBitmapGlyphMetrics.py6 from fontTools.misc.textTools import safeEval
52 vars(self)[name] = safeEval(attrs['value'])
DT_S_I__5.py8 from fontTools.misc.textTools import safeEval
45 self.glyphGrouping[attrs["name"]] = safeEval(attrs["value"])
DG_M_A_P_.py4 from fontTools.misc.textTools import safeEval
58 setattr(self, name, safeEval(value))
128 setattr(self, name, safeEval(value))
D_h_m_t_x.py5 from fontTools.misc.textTools import safeEval
130 self.metrics[attrs["name"]] = (safeEval(attrs[self.advanceName]),
131 safeEval(attrs[self.sideBearingName]))
DL_T_S_H_.py3 from fontTools.misc.textTools import safeEval
50 self.yPels[attrs["name"]] = safeEval(attrs["value"])
D_g_l_y_f.py9 from fontTools.misc.textTools import safeEval, pad
196 setattr(glyph, attr, safeEval(attrs.get(attr, '0')))
451 coordinates.append((safeEval(attrs["x"]), safeEval(attrs["y"])))
452 flag = not not safeEval(attrs["on"])
453 if "overlap" in attrs and bool(safeEval(attrs["overlap"])):
1221 self.firstPt = safeEval(attrs["firstPt"])
1222 self.secondPt = safeEval(attrs["secondPt"])
1224 self.x = safeEval(attrs["x"])
1225 self.y = safeEval(attrs["y"])
1227 scalex = safeEval(attrs["scalex"])
[all …]
DO_S_2f_2.py4 from fontTools.misc.textTools import safeEval, num2binary, binary2num
35 setattr(self, name, safeEval(attrs["value"]))
207 setattr(self, name, safeEval("'''" + attrs["value"] + "'''"))
209 setattr(self, name, safeEval(attrs["value"]))
DV_O_R_G_.py3 from fontTools.misc.textTools import safeEval
94 setattr(self, name, safeEval(attrs["value"]))
140 setattr(self, name, safeEval(value))

123