Home
last modified time | relevance | path

Searched refs:bytechr (Results 1 – 10 of 10) sorted by relevance

/external/fonttools/Lib/fontTools/
Dt1Lib.py181 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)
DcffLib.py612 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/
Deexec.py12 return bytechr(plain), R
18 return bytechr(cipher), R
DpsCharStrings.py154 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 …]
Dpy23.py17 bytechr = chr variable
21 def bytechr(n): function
DtextTools.py23 data.append(bytechr(int(hexdata[i:i+2], 16)))
/external/fonttools/Lib/fontTools/ttLib/tables/
D_h_d_m_x.py40 data = data + bytechr(ppem) + bytechr(max(widths.values()))
43 data = data + bytechr(width)
DS_I_N_G_.py62 d["nameLength"] = bytechr(len(self.baseGlyphName))
67 d["METAMD5"] += bytechr(val)
DE_B_D_T_.py226 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.py270 data = data + bytechr(len(s)) + tobytes(s, encoding="latin1")