in_cmap is on by default.

pull/1/head
Yusuke Shinyama 2013-10-17 21:40:43 +09:00
parent de9f9715e3
commit 8d42eec94d
1 changed files with 2 additions and 1 deletions

View File

@ -286,7 +286,8 @@ class CMapParser(PSStackParser):
def __init__(self, cmap, fp): def __init__(self, cmap, fp):
PSStackParser.__init__(self, fp) PSStackParser.__init__(self, fp)
self.cmap = cmap self.cmap = cmap
self._in_cmap = False # some ToUnicode maps don't have "begincmap" keyword.
self._in_cmap = True
return return
def run(self): def run(self):