Searched refs:safeEval (Results 1 – 25 of 32) sorted by relevance
12
/external/fonttools/Lib/fontTools/ttLib/tables/ |
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 | _n_a_m_e.py | 4 from fontTools.misc.textTools import safeEval 119 self.nameID = safeEval(attrs["nameID"]) 120 self.platformID = safeEval(attrs["platformID"]) 121 self.platEncID = safeEval(attrs["platEncID"]) 122 self.langID = safeEval(attrs["langID"])
|
D | _c_v_t.py | 3 from fontTools.misc.textTools import safeEval 33 index = safeEval(attrs["index"]) 34 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 | _k_e_r_n.py | 4 from fontTools.misc.textTools import safeEval, readHex 73 self.version = safeEval(attrs["value"]) 79 format = safeEval(attrs["format"]) 144 self.coverage = safeEval(attrs["coverage"]) 145 self.version = safeEval(attrs["format"]) 152 self.kernTable[(attrs["l"], attrs["r"])] = safeEval(attrs["v"])
|
D | _c_m_a_p.py | 3 from fontTools.misc.textTools import safeEval, readHex 85 self.tableVersion = safeEval(attrs["version"]) 91 format = safeEval(name[12:]) 96 table.platformID = safeEval(attrs["platformID"]) 97 table.platEncID = safeEval(attrs["platEncID"]) 211 self.language = safeEval(attrs["language"]) 221 cmap[safeEval(attrs["code"])] = attrs["name"] 529 self.language = safeEval(attrs["language"]) 540 cmap[safeEval(attrs["code"])] = attrs["name"] 797 self.language = safeEval(attrs["language"]) [all …]
|
D | O_S_2f_2.py | 4 from fontTools.misc.textTools import safeEval, num2binary, binary2num 33 setattr(self, name, safeEval(attrs["value"])) 185 setattr(self, name, safeEval("'''" + attrs["value"] + "'''")) 187 setattr(self, name, safeEval(attrs["value"]))
|
D | _g_l_y_f.py | 8 from fontTools.misc.textTools import safeEval 126 setattr(glyph, attr, safeEval(attrs.get(attr, '0'))) 300 coordinates.append((safeEval(attrs["x"]), safeEval(attrs["y"]))) 301 flags.append(not not safeEval(attrs["on"])) 925 self.firstPt = safeEval(attrs["firstPt"]) 926 self.secondPt = safeEval(attrs["secondPt"]) 928 self.x = safeEval(attrs["x"]) 929 self.y = safeEval(attrs["y"]) 931 scalex = safeEval(attrs["scalex"]) 932 scale01 = safeEval(attrs["scale01"]) [all …]
|
D | E_B_L_C_.py | 5 from fontTools.misc.textTools import safeEval 210 self.version = safeEval(attrs['version']) 214 strikeIndex = safeEval(attrs['index']) 250 indexFormat = safeEval(name[len(_indexSubTableSubclassPrefix):]) 294 vars(self)[name] = safeEval(attrs['value']) 317 vars(self)[name] = safeEval(attrs['value']) 373 self.imageFormat = safeEval(attrs['imageFormat']) 374 self.firstGlyphIndex = safeEval(attrs['firstGlyphIndex']) 375 self.lastGlyphIndex = safeEval(attrs['lastGlyphIndex']) 501 self.imageSize = safeEval(attrs['value'])
|
D | _h_m_t_x.py | 3 from fontTools.misc.textTools import safeEval 91 self.metrics[attrs["name"]] = [safeEval(attrs[self.advanceName]), 92 safeEval(attrs[self.sideBearingName])]
|
D | E_B_D_T_.py | 4 from fontTools.misc.textTools import safeEval, readHex, hexStr, deHexStr 149 self.version = safeEval(attrs['version']) 153 strikeIndex = safeEval(attrs['index']) 161 imageFormat = safeEval(name[len(_bitmapGlyphSubclassPrefix):]) 197 vars(self)[name] = safeEval(attrs['value']) 282 bitDepth = safeEval(attrs['bitDepth']) 284 metrics.width = safeEval(attrs['width']) 285 metrics.height = safeEval(attrs['height']) 319 bitDepth = safeEval(attrs['bitDepth']) 321 metrics.width = safeEval(attrs['width']) [all …]
|
D | BitmapGlyphMetrics.py | 6 from fontTools.misc.textTools import safeEval 49 vars(self)[name] = safeEval(attrs['value'])
|
D | F_F_T_M_.py | 3 from fontTools.misc.textTools import safeEval 45 value = safeEval(value)
|
D | T_S_I__5.py | 3 from fontTools.misc.textTools import safeEval 42 self.glyphGrouping[attrs["name"]] = safeEval(attrs["value"])
|
D | L_T_S_H_.py | 3 from fontTools.misc.textTools import safeEval 50 self.yPels[attrs["name"]] = safeEval(attrs["value"])
|
D | G_M_A_P_.py | 4 from fontTools.misc.textTools import safeEval 60 setattr(self, name, safeEval(value)) 133 setattr(self, name, safeEval(value))
|
D | _v_h_e_a.py | 4 from fontTools.misc.textTools import safeEval 77 setattr(self, name, safeEval(attrs["value"]))
|
D | _h_e_a_d.py | 4 from fontTools.misc.textTools import safeEval, num2binary, binary2num 76 value = safeEval(value)
|
D | _h_h_e_a.py | 4 from fontTools.misc.textTools import safeEval 90 setattr(self, name, safeEval(attrs["value"]))
|
D | V_O_R_G_.py | 3 from fontTools.misc.textTools import safeEval 95 setattr(self, name, safeEval(attrs["value"])) 142 setattr(self, name, safeEval(value))
|
D | C_O_L_R_.py | 7 from fontTools.misc.textTools import safeEval 118 setattr(self, name, safeEval(attrs["value"])) 161 setattr(self, name, safeEval(value))
|
D | M_E_T_A_.py | 4 from fontTools.misc.textTools import safeEval 184 setattr(self, name, safeEval(attrs["value"])) 217 setattr(self, name, safeEval(attrs["value"])) 293 setattr(self, name, safeEval(value))
|
D | S_I_N_G_.py | 4 from fontTools.misc.textTools import safeEval 98 setattr(self, name, safeEval(value))
|
D | _h_d_m_x.py | 94 from fontTools.misc.textTools import safeEval 95 glyphName = safeEval('"""' + glyphName + '"""')
|
/external/fonttools/Lib/fontTools/misc/ |
D | xmlReader.py | 4 from fontTools.misc.textTools import safeEval 60 sfntVersion = safeEval('"' + sfntVersion + '"') 82 elif "ERROR" in attrs or ('raw' in attrs and safeEval(attrs['raw'])):
|
12