Created attachment 50442 [details] Page 1 is right, but page 2 is wrong. When I use the function Poppler::Page::textList(), I find that the QList<TextBox *> it produce have wrong order. The attachment is a example.Page 1 is right, but page 2 is wrong.
Can you be a bit more precise with what you mean that the order is wrong?
(In reply to comment #1) > Can you be a bit more precise with what you mean that the order is wrong? I print the text of each textBox in QList<TextBox *> of page 2 (the PDF file in attachment). The result should be "as manpower, materials and technology in the early stages of development by relying ...". But it come out to be "regional disparity from the perspective of the lock-in efect ...". The order should be left-to-right.
I see, there is the problem that the documentation says that this should return the text in order, but it is not true :D It can be fixed to do what pdftotext does, but it is not on my priorities at the moment, maybe you want to help? If so say so and i will give you some pointers.
(In reply to comment #3) > I see, there is the problem that the documentation says that this should return > the text in order, but it is not true :D It can be fixed to do what pdftotext > does, but it is not on my priorities at the moment, maybe you want to help? If > so say so and i will give you some pointers. Yes, i'd like to. Please offer me some advice.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/349.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.