{"action":"opened","issue":{"url":"https://api.github.com/repos/gkovacs/pdfocr/issues/18","labels_url":"https://api.github.com/repos/gkovacs/pdfocr/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/gkovacs/pdfocr/issues/18/comments","events_url":"https://api.github.com/repos/gkovacs/pdfocr/issues/18/events","html_url":"https://github.com/gkovacs/pdfocr/issues/18","id":54329542,"number":18,"title":"[bug] [regression] latest merge breaks cuneiform, ocroscript and old tesseract versions","user":{"login":"matt-gnu","id":480158,"avatar_url":"https://avatars.githubusercontent.com/u/480158?v=3","gravatar_id":"","url":"https://api.github.com/users/matt-gnu","html_url":"https://github.com/matt-gnu","followers_url":"https://api.github.com/users/matt-gnu/followers","following_url":"https://api.github.com/users/matt-gnu/following{/other_user}","gists_url":"https://api.github.com/users/matt-gnu/gists{/gist_id}","starred_url":"https://api.github.com/users/matt-gnu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matt-gnu/subscriptions","organizations_url":"https://api.github.com/users/matt-gnu/orgs","repos_url":"https://api.github.com/users/matt-gnu/repos","events_url":"https://api.github.com/users/matt-gnu/events{/privacy}","received_events_url":"https://api.github.com/users/matt-gnu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-14T14:44:19Z","updated_at":"2015-01-14T14:44:19Z","closed_at":null,"body":"4d274c918346cb56a7a766cef566e6fb4b11171e, merged in b53060bc867543a54d8b6a2d792da6a7451f015a, breaks pdfocr for all OCR engines except for very new tesseract versions.\r\n\r\nThe support for cuneiform+ocroscript is broken, because they generate .hocr files, which won't be merged to PDF anymore.\r\ntesseract 3.02.01-6 as in debian stable can't yet create pdf directly.\r\n\r\nSo IMHO this patch needs a thorough rework with more cases: if tesseract && recent_version: new code; else old code"}}