Searched refs:safeEval (Results 1 – 25 of 49) sorted by relevance
12
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | V_D_M_X_.py | 3 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"])
|
D | D_S_I_G_.py | 2 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"))
|
D | sbixStrike.py | 2 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"])
|
D | F__e_a_t.py | 3 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.py | 1 from fontTools.misc.textTools import safeEval 49 self.gaspRange[safeEval(attrs["rangeMaxPPEM"])] = safeEval(attrs["rangeGaspBehavior"])
|
D | _c_v_t.py | 1 from fontTools.misc.textTools import safeEval 29 index = safeEval(attrs["index"]) 30 value = safeEval(attrs["value"])
|
D | _k_e_r_n.py | 2 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.py | 2 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 …]
|
D | G__l_a_t.py | 3 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.py | 9 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"])
|
D | F_F_T_M_.py | 2 from fontTools.misc.textTools import safeEval 39 value = safeEval(value)
|
D | BitmapGlyphMetrics.py | 4 from fontTools.misc.textTools import safeEval 50 vars(self)[name] = safeEval(attrs['value'])
|
D | S__i_l_l.py | 3 from fontTools.misc.textTools import safeEval 71 self.version = float(safeEval(attrs['version'])) 80 int(safeEval(a['val']))))
|
D | E_B_D_T_.py | 3 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 …]
|
D | E_B_L_C_.py | 4 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'])
|
D | T_S_I__5.py | 6 from fontTools.misc.textTools import safeEval 43 self.glyphGrouping[attrs["name"]] = safeEval(attrs["value"])
|
D | L_T_S_H_.py | 1 from fontTools.misc.textTools import safeEval 48 self.yPels[attrs["name"]] = safeEval(attrs["value"])
|
D | _t_r_a_k.py | 9 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'])
|
D | G_M_A_P_.py | 3 from fontTools.misc.textTools import safeEval 57 setattr(self, name, safeEval(value)) 127 setattr(self, name, safeEval(value))
|
D | _h_m_t_x.py | 3 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.py | 4 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")):
|
D | C_O_L_R_.py | 5 from fontTools.misc.textTools import safeEval 101 setattr(self, name, safeEval(attrs["value"])) 158 setattr(self, name, safeEval(value))
|
D | V_O_R_G_.py | 2 from fontTools.misc.textTools import safeEval 92 setattr(self, name, safeEval(attrs["value"])) 138 setattr(self, name, safeEval(value))
|
D | _l_t_a_g.py | 2 from fontTools.misc.textTools import safeEval 63 value = safeEval(attrs["value"])
|
D | G__l_o_c.py | 2 from fontTools.misc.textTools import safeEval 62 self.numAttribs = int(safeEval(attrs['number']))
|
12