Searched refs:safeEval (Results 1 – 25 of 52) sorted by relevance
123
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | V_D_M_X_.py | 5 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"])
|
D | D_S_I_G_.py | 3 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"))
|
D | F__e_a_t.py | 4 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']))
|
D | sbixStrike.py | 115 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.py | 4 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.py | 5 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.py | 3 from fontTools.misc.textTools import safeEval 31 index = safeEval(attrs["index"]) 32 value = safeEval(attrs["value"])
|
D | _g_a_s_p.py | 3 from fontTools.misc.textTools import safeEval 51 self.gaspRange[safeEval(attrs["rangeMaxPPEM"])] = safeEval(attrs["rangeGaspBehavior"])
|
D | _t_r_a_k.py | 5 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.py | 3 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 …]
|
D | G__l_a_t.py | 4 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 | E_B_D_T_.py | 4 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.py | 6 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")):
|
D | E_B_L_C_.py | 5 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'])
|
D | S__i_l_l.py | 4 from fontTools.misc.textTools import safeEval 70 self.version = float(safeEval(attrs['version'])) 79 int(safeEval(a['val']))))
|
D | _a_v_a_r.py | 6 from fontTools.misc.textTools import safeEval 96 fromValue = safeEval(elementAttrs["from"]) 97 toValue = safeEval(elementAttrs["to"])
|
D | F_F_T_M_.py | 4 from fontTools.misc.textTools import safeEval 41 value = safeEval(value)
|
D | BitmapGlyphMetrics.py | 6 from fontTools.misc.textTools import safeEval 52 vars(self)[name] = safeEval(attrs['value'])
|
D | T_S_I__5.py | 8 from fontTools.misc.textTools import safeEval 45 self.glyphGrouping[attrs["name"]] = safeEval(attrs["value"])
|
D | G_M_A_P_.py | 4 from fontTools.misc.textTools import safeEval 58 setattr(self, name, safeEval(value)) 128 setattr(self, name, safeEval(value))
|
D | _h_m_t_x.py | 5 from fontTools.misc.textTools import safeEval 130 self.metrics[attrs["name"]] = (safeEval(attrs[self.advanceName]), 131 safeEval(attrs[self.sideBearingName]))
|
D | L_T_S_H_.py | 3 from fontTools.misc.textTools import safeEval 50 self.yPels[attrs["name"]] = safeEval(attrs["value"])
|
D | _g_l_y_f.py | 9 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 …]
|
D | O_S_2f_2.py | 4 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"]))
|
D | V_O_R_G_.py | 3 from fontTools.misc.textTools import safeEval 94 setattr(self, name, safeEval(attrs["value"])) 140 setattr(self, name, safeEval(value))
|
123