MCPcopy Index your code
hub / github.com/clips/pattern / IdentityCMap

Class IdentityCMap

pattern/web/pdf/cmapdb.py:89–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87## IdentityCMap
88##
89class IdentityCMap(object):
90
91 def __init__(self, vertical):
92 self.vertical = vertical
93 return
94
95 def is_vertical(self):
96 return self.vertical
97
98 def decode(self, code):
99 n = len(code)/2
100 if n:
101 return struct.unpack('>%dH' % n, code)
102 else:
103 return ()
104
105
106

Callers 1

get_cmapMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…