Searched refs:bytechr (Results 1 – 10 of 10) sorted by relevance
/external/fonttools/Lib/fontTools/ |
D | t1Lib.py | 181 if f.read(1) != bytechr(128): 231 res = Res.Resource(bytechr(code) + '\0' + chunk[:LWFNCHUNKSIZE - 2]) 235 res = Res.Resource(bytechr(5) + '\0') 249 f.write(bytechr(128) + bytechr(code)) 252 f.write(bytechr(128) + bytechr(3)) 362 s += bytechr((long & (0xff << (i * 8))) >> i * 8)
|
D | cffLib.py | 612 file.write(bytechr(value)) 618 return bytechr(value) 633 op = bytechr(op[0]) + bytechr(op[1]) 635 op = bytechr(op)
|
/external/fonttools/Lib/fontTools/misc/ |
D | eexec.py | 12 return bytechr(plain), R 18 return bytechr(cipher), R
|
D | psCharStrings.py | 154 fourByteOp = bytechr(29) 156 fourByteOp = bytechr(255) 161 def encodeInt(value, fourByteOp=fourByteOp, bytechr=bytechr, argument 164 code = bytechr(value + 139) 167 code = bytechr((value >> 8) + 247) + bytechr(value & 0xFF) 170 code = bytechr((value >> 8) + 251) + bytechr(value & 0xFF) 174 code = bytechr(28) + pack(">h", value) 188 code = bytechr(255) + pack(">l", value) 222 d = bytechr(30) 224 d = d + bytechr(nibbles[i] << 4 | nibbles[i+1]) [all …]
|
D | py23.py | 17 bytechr = chr variable 21 def bytechr(n): function
|
D | textTools.py | 23 data.append(bytechr(int(hexdata[i:i+2], 16)))
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _h_d_m_x.py | 40 data = data + bytechr(ppem) + bytechr(max(widths.values())) 43 data = data + bytechr(width)
|
D | S_I_N_G_.py | 62 d["nameLength"] = bytechr(len(self.baseGlyphName)) 67 d["METAMD5"] += bytechr(val)
|
D | E_B_D_T_.py | 226 byteList.append(bytechr(curByte)) 252 return bytechr(result) 535 dataList.append(bytechr(newByte)) 573 self.imageData = _reverseBytes(bytesjoin(map(bytechr, ordDataList)))
|
D | _p_o_s_t.py | 270 data = data + bytechr(len(s)) + tobytes(s, encoding="latin1")
|