mirror of
https://github.com/ocrmypdf/OCRmyPDF.git
synced 2026-05-05 13:16:55 -04:00
pdfinfo: Fix text_operators type not changed in related commit
This commit is contained in:
@@ -164,8 +164,7 @@ def _interpret_contents(contentstream, initial_shorthand=UNIT_SQUARE):
|
||||
xobject_settings = []
|
||||
inline_images = []
|
||||
found_text = False
|
||||
text_operators = tuple(
|
||||
pikepdf.Operator(op) for op in ('Tj', 'TJ', '"', "'"))
|
||||
text_operators = set(['Tj', 'TJ', '"', "'"])
|
||||
operator_whitelist = """q Q Do cm TJ Tj " ' BI ID EI"""
|
||||
|
||||
for n, op in enumerate(_normalize_stack(
|
||||
|
||||
Reference in New Issue
Block a user