[Poppler-bugs] [Bug 55977] New: handling of rtl text inversion is too naive
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Oct 14 11:18:51 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=55977
Priority: medium
Bug ID: 55977
Assignee: poppler-bugs at lists.freedesktop.org
Summary: handling of rtl text inversion is too naive
Severity: normal
Classification: Unclassified
OS: All
Reporter: alexbodn.groups at gmail.com
Hardware: All
Status: NEW
Version: unspecified
Component: general
Product: poppler
Created attachment 68555
--> https://bugs.freedesktop.org/attachment.cgi?id=68555&action=edit
the patch itself, made on poppler 0.20.3. please give it a try.
textpage::dumpfragment makes an attempt to reorder text in it's original
directionality. i mean, reorder visual to logical order.
however, this is generally a very heavy issue to implement, handled (to my
knowledge of foss) only in icu.
fribidi does only reorder logical text to visual, which may also help here, but
it's not the real thing.
here is a patch to implement the icu algorithm, with a fribidi fallback, in
poppler.
i did it since the current attempt is not quite correct. a test file to test
with pdftotext will be attached too.
please feel free to comment an enjoy.
best regards,
alex
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20121014/e3121eec/attachment.html>
More information about the Poppler-bugs
mailing list