[Poppler-bugs] [Bug 20013] pdftotext doesn't support /Alt nor / ActualText with octal content
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Feb 25 15:30:41 PST 2009
http://bugs.freedesktop.org/show_bug.cgi?id=20013
--- Comment #3 from Ross Moore <ross at maths.mq.edu.au> 2009-02-25 15:30:40 PST ---
(From update of attachment 22702)
Having trouble with this system.
Here's the patch again (3rd attempt):
*** TextOutputDev-prev.cc Wed Feb 18 04:59:28 2009
--- TextOutputDev.cc Wed Feb 18 05:42:22 2009
*************** void TextOutputDev::endMarkedContent(Gfx
*** 4657,4663 ****
length = length/2 - 1;
uni = new Unicode[length];
for (i = 0 ; i < length; i++)
! uni[i] = (uniString[2 + i*2]<<8) + uniString[2 + i*2+1];
text->addChar(state,
actualText_x, actualText_y,
--- 4657,4663 ----
length = length/2 - 1;
uni = new Unicode[length];
for (i = 0 ; i < length; i++)
! uni[i] = ((uniString[2 + i*2] & 0xff)<<8)|(uniString[3 + i*2] & 0xff);
text->addChar(state,
actualText_x, actualText_y,
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Poppler-bugs
mailing list