What steps will reproduce the problem?
1. Use a document with a single font, no italics or bold so every line should
consist of 1 segment
2. call FPDFText_CountBoundedSegments
What is the expected output? What do you see instead?
Should get one but actually get many segments
What version of the product are you using? On what operating system?
I pulled down from GIT a couple months ago and build according to the
directions. I am using pdfium on windows 7.
Please provide any additional information below.
The problem is in CPDF_TextPage::CountBoundedSegments. Characters from the
previous and next lines will very very slightly overlap the line being
processed and so the code thinks those characters are part of the line. I
attached the file i am using
Original issue reported on code.google.com by seifertk...@gmail.com on 30 Oct 2014 at 7:07
Original issue reported on code.google.com by
seifertk...@gmail.com
on 30 Oct 2014 at 7:07Attachments: