- added some typing
This commit is contained in:
1 parent
b4999d2010
commit
910b78bf7c
1 file changed
+2
-2
@@ -493,12 +493,12 @@ class PDFPageInterpreter(object):
|
|||||||
return
|
return
|
||||||
|
|
||||||
# show-pos
|
# show-pos
|
||||||
def do_TJ(self, seq):
|
def do_TJ(self, seq: bytearray):
|
||||||
if self.textstate.font is None:
|
if self.textstate.font is None:
|
||||||
if settings.STRICT:
|
if settings.STRICT:
|
||||||
raise PDFInterpreterError('No font specified!')
|
raise PDFInterpreterError('No font specified!')
|
||||||
return
|
return
|
||||||
self.device.render_string(self.textstate, seq, self.ncs, self.graphicstate.copy())
|
self.device.render_string(self.textstate.copy(), seq, self.ncs, self.graphicstate.copy())
|
||||||
return
|
return
|
||||||
|
|
||||||
# show
|
# show
|
||||||
|
|||||||
Reference in new issue
Block a user