[Libreoffice-bugs] [Bug 104597] Text runs of RTL scripts (e.g. Arabic, Hebrew, Persian) from imported PDF are reversed, PDFIProcessor::mirrorString not behaving

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jul 29 13:19:59 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=104597

--- Comment #15 from Justin L <jluth at mail.com> ---
Created attachment 153035
  --> https://bugs.documentfoundation.org/attachment.cgi?id=153035&action=edit
arabic RTL3.pdf: shows when mirroring changed from paragraphs to individual
characters

(In reply to Justin L from comment #14)
> However, making that change doesn't fix it, since almost nothing is even
> passed to the mirrorString function.
Back then, the entire textbox was passed to the mirrorString function. Using
insertUtf does fix it when compiling the 4.1 codebase. (make dev-install with
gcc 4.6 on Ubuntu 12.04, and running install/program/soffice.)

The paragraphElement switched to being composed of mostly individual character
elements (which don't get mirrored) instead of large chunks of text in LO 5.0
commit ee21771db0292315ff3e1b87ff58294335106bd3
Author: Vort <vvort at yandex.ru>
Date:   Fri Jan 16 18:29:40 2015 +0200
    fdo#88465 PDF Import: fix scale and rotate image transformations

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190729/fb4999e0/attachment.html>


More information about the Libreoffice-bugs mailing list