On Tue, Oct 20, 2026 at 7:31 PM B 9 <[email protected]> wrote:

> On Tue, Oct 20, 2026 at 5:13 PM John R. Hogerhuis [email protected]
> <https://mailto:[email protected]> wrote:
>
> Tesseract or something like it was probably the source of the original OCR
>> that's embedded in the PDF. It's something, but having messed with trying
>> to correct assembly listings and ASCII art using it, it's not great. Maybe
>> that was a skill issue on my part, but the AI is doing a very good job in
>> comparison to what I was getting.
>>
> Yeah, it’s not obvious how to extract monospaced text from a PDF. If you
> try to cut and paste, it’ll put the text in “reading order” instead of the
> physical layout. I don’t know how to do in Microsoft Windows, but in UNIX
> you can do this (presuming an 8 point fixed width font):
>
> pdftotext  -fixed 8  -layout  input.pdf  output.txt
>
> —b9
>

Yeah I had tried various setings for fixed. Maybe 8 is better than what I
tried.

-- John.

Reply via email to