handle_undefined_char shouldn't return None

git-svn-id: https://pdfminerr.googlecode.com/svn/trunk/pdfminer@90 1aa58f4a-7d42-0410-adbc-911cccaed67c
pull/1/head
yusuke.shinyama.dummy 2009-04-25 05:24:29 +00:00
parent 3b3ea7d4ad
commit 3c4936ad28
1 changed files with 1 additions and 1 deletions

View File

@ -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)