fritz-hh/OCRmyPDF — pull request #56 by jbarlow83 (2014-01-13 06:22:27+00:00)
Title: Fix AttributeError on self.width if Tesseract finds no OCR text

self.width remains undefined unless hOCR finds text. If there is

tag, which happens on occasion for some reason, then the Python script exits with an AttributeError instead of an error message, as apparently intended.

Error message is:
AttributeError: ‘hocrTransform’ object has no attribute ‘width’