/dports/print/py-fonttools/fonttools-4.28.2/Lib/fontTools/t1Lib/ |
H A D | __init__.py | 20 from fontTools.misc.textTools import bytechr, byteord, bytesjoin 184 if f.read(1) != bytechr(128): 232 res = Res.Resource(bytechr(code) + '\0' + chunk[:LWFNCHUNKSIZE - 2]) 236 res = Res.Resource(bytechr(5) + '\0') 249 f.write(bytechr(128) + bytechr(code)) 252 f.write(bytechr(128) + bytechr(3)) 360 s += bytechr((long & (0xff << (i * 8))) >> i * 8)
|
/dports/print/py-fonttools3/fonttools-3.44.0/Lib/fontTools/t1Lib/ |
H A D | __init__.py | 185 if f.read(1) != bytechr(128): 233 res = Res.Resource(bytechr(code) + '\0' + chunk[:LWFNCHUNKSIZE - 2]) 237 res = Res.Resource(bytechr(5) + '\0') 250 f.write(bytechr(128) + bytechr(code)) 253 f.write(bytechr(128) + bytechr(3)) 361 s += bytechr((long & (0xff << (i * 8))) >> i * 8)
|
/dports/print/py-fonttools/fonttools-4.28.2/Lib/fontTools/misc/ |
H A D | eexec.py | 15 from fontTools.misc.textTools import bytechr, bytesjoin, byteord 22 return bytechr(plain), R 28 return bytechr(cipher), R
|
H A D | psCharStrings.py | 173 fourByteOp = bytechr(29) 175 fourByteOp = bytechr(255) 180 def encodeInt(value, fourByteOp=fourByteOp, bytechr=bytechr, argument 183 code = bytechr(value + 139) 186 code = bytechr((value >> 8) + 247) + bytechr(value & 0xFF) 189 code = bytechr((value >> 8) + 251) + bytechr(value & 0xFF) 193 code = bytechr(28) + pack(">h", value) 206 code = bytechr(255) + pack(">l", value) 227 realZeroBytes = bytechr(30) + bytechr(0xf) 255 d = bytechr(30) [all …]
|
H A D | textTools.py | 47 data.append(bytechr(int(hexdata[i:i+2], 16))) 136 def bytechr(n): function
|
H A D | py23.py | 11 from .textTools import Tag, bytechr, byteord, bytesjoin, strjoin, tobytes, tostr
|
/dports/print/py-fonttools/fonttools-4.28.2/Tests/ttLib/tables/ |
H A D | _m_o_r_x_test.py | 2 from fontTools.misc.textTools import bytechr, bytesjoin, deHexStr, hexStr 987 bytechr(flags << 4), 1039 bytechr(0x8A), bytechr(0xBC), bytechr(0xDE), 1064 bytechr(66),
|
/dports/print/py-fonttools/fonttools-4.28.2/Lib/fontTools/ttLib/tables/ |
H A D | _h_d_m_x.py | 2 from fontTools.misc.textTools import bytechr, byteord, strjoin 57 data = data + bytechr(ppem) + bytechr(max(widths.values())) 60 data = data + bytechr(width)
|
H A D | S_I_N_G_.py | 2 from fontTools.misc.textTools import bytechr, byteord, tobytes, tostr, safeEval 58 d["nameLength"] = bytechr(len(self.baseGlyphName)) 63 d["METAMD5"] += bytechr(val)
|
H A D | E_B_D_T_.py | 2 from fontTools.misc.textTools import bytechr, byteord, bytesjoin, strjoin, safeEval, readHex, hexSt… 228 byteList.append(bytechr(curByte)) 254 return bytechr(result) 542 dataList.append(bytechr(newByte)) 580 self.imageData = _reverseBytes(bytesjoin(map(bytechr, ordDataList)))
|
H A D | _p_o_s_t.py | 4 from fontTools.misc.textTools import bytechr, byteord, tobytes, tostr, safeEval, readHex 291 data = data + bytechr(len(s)) + tobytes(s, encoding="latin1")
|
/dports/print/py-fonttools3/fonttools-3.44.0/Lib/fontTools/ttLib/tables/ |
H A D | TupleVariation.py | 210 result = [bytechr(numPoints)] 212 result = [bytechr((numPoints >> 8) | 0x80) + bytechr(numPoints & 0xff)] 232 run.write(bytechr(delta)) 234 run.write(bytechr(delta >> 8)) 235 run.write(bytechr(delta & 0xff)) 240 runHeader = bytechr(runLength - 1) 242 runHeader = bytechr((runLength - 1) | POINTS_ARE_WORDS) 348 stream.write(bytechr(DELTAS_ARE_ZERO | (runLength - 1))) 373 stream.write(bytechr(runLength - 1)) 407 stream.write(bytechr(DELTAS_ARE_WORDS | (runLength - 1)))
|
H A D | _h_d_m_x.py | 62 data = data + bytechr(ppem) + bytechr(max(widths.values())) 65 data = data + bytechr(width)
|
H A D | S_I_N_G_.py | 60 d["nameLength"] = bytechr(len(self.baseGlyphName)) 65 d["METAMD5"] += bytechr(val)
|
H A D | E_B_D_T_.py | 230 byteList.append(bytechr(curByte)) 256 return bytechr(result) 544 dataList.append(bytechr(newByte)) 582 self.imageData = _reverseBytes(bytesjoin(map(bytechr, ordDataList)))
|
/dports/print/py-fonttools3/fonttools-3.44.0/Tests/ttLib/tables/ |
H A D | _m_o_r_x_test.py | 990 bytechr(flags << 4), 1042 bytechr(0x8A), bytechr(0xBC), bytechr(0xDE), 1067 bytechr(66),
|
/dports/print/py-fonttools3/fonttools-3.44.0/Lib/fontTools/misc/ |
H A D | psCharStrings.py | 172 fourByteOp = bytechr(29) 174 fourByteOp = bytechr(255) 179 def encodeInt(value, fourByteOp=fourByteOp, bytechr=bytechr, argument 182 code = bytechr(value + 139) 185 code = bytechr((value >> 8) + 247) + bytechr(value & 0xFF) 188 code = bytechr((value >> 8) + 251) + bytechr(value & 0xFF) 192 code = bytechr(28) + pack(">h", value) 205 code = bytechr(255) + pack(">l", value) 226 realZeroBytes = bytechr(30) + bytechr(0xf) 254 d = bytechr(30) [all …]
|
H A D | eexec.py | 12 return bytechr(plain), R 18 return bytechr(cipher), R
|
H A D | textTools.py | 26 data.append(bytechr(int(hexdata[i:i+2], 16)))
|
H A D | py23.py | 99 bytechr = chr variable 103 def bytechr(n): function
|
/dports/devel/mercurial/mercurial-6.0/mercurial/pure/ |
H A D | charencode.py | 41 _jsonmap.extend(pycompat.bytechr(x) for x in range(32, 127)) 53 _jsonmap.extend(pycompat.bytechr(x) for x in range(128, 256))
|
/dports/devel/mercurial/mercurial-6.0/tests/ |
H A D | test-wireproto.py | 93 return b''.join(pycompat.bytechr(ord(c) + 1) for c in pycompat.bytestr(s)) 97 return b''.join(pycompat.bytechr(ord(c) - 1) for c in pycompat.bytestr(s))
|
H A D | test-batching.py | 163 return b''.join(pycompat.bytechr(ord(c) + 1) for c in pycompat.bytestr(s)) 167 return b''.join(pycompat.bytechr(ord(c) - 1) for c in pycompat.bytestr(s))
|
H A D | drawdag.py | 105 pycompat.bytechr(i) 107 if pycompat.bytechr(i) not in _pipechars
|
/dports/devel/mercurial/mercurial-6.0/mercurial/ |
H A D | pycompat.py | 170 bytechr = struct.Struct('>B').pack variable 249 s = bytechr(s) 260 return map(bytechr, s) 426 bytechr = chr variable
|