handle_undefined_char shouldn't return None
git-svn-id: https://pdfminerr.googlecode.com/svn/trunk/pdfminer@90 1aa58f4a-7d42-0410-adbc-911cccaed67cpull/1/head
parent
3b3ea7d4ad
commit
3c4936ad28
|
@ -156,7 +156,7 @@ class PDFPageAggregator(PDFDevice):
|
|||
def handle_undefined_char(self, cidcoding, cid):
|
||||
if self.debug:
|
||||
print >>stderr, 'undefined: %r, %r' % (cidcoding, cid)
|
||||
return None
|
||||
return '?'
|
||||
|
||||
def paint_path(self, graphicstate, matrix, stroke, fill, evenodd, path):
|
||||
shape = ''.join(x[0] for x in path)
|
||||
|
|
Loading…
Reference in New Issue