How to detect vertical text using yob / pdf-reader?

I have code that uses a gob file to read / read PDF files to extract text from a PDF file and search for specific lines in it. I recently realized that vertical text can prevent my logic from identifying text on the same line.

My question is: does anyone know a way to distinguish text orientation from a PDF reader?

+4
source share

Source: https://habr.com/ru/post/1534616/


All Articles