https://bugs.documentfoundation.org/show_bug.cgi?id=104597
V Stuart Foote <vstuart.fo...@utsa.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |43808
Summary|Persian in imported PDF |Text runs of RTL scripts
|gets reversed |(e.g. Arabic, Hebrew,
| |Persian) from imported PDF
| |are reversed,
| |PDFIProcessor::mirrorString
| |not behaving
CC| |dr.khaled.ho...@gmail.com,
| |vstuart.fo...@utsa.edu,
| |vv...@yandex.ru
--- Comment #13 from V Stuart Foote <vstuart.fo...@utsa.edu> ---
Not clear if the (isRTL) is applied logically to do the mirror::String() [1]? I
get confused walking through the code. Where we check for RTL [2] checking
character by character with GetCharacterClassification () [3] using the ICU lib
getUnicodeDirection() by Unicode block [4] to classify the text run.
So the string should be mirrored/reversed when written out to document canvas.
But something is misapplied.
=-refs-=
[1]
https://opengrok.libreoffice.org/xref/core/sdext/source/pdfimport/tree/pdfiprocessor.cxx?r=58e31745#699
[2]
https://opengrok.libreoffice.org/xref/core/sdext/source/pdfimport/tree/drawtreevisiting.cxx?r=8b663bc8&h=91#108
[3]
https://opengrok.libreoffice.org/xref/core/i18nutil/source/utility/scripttypedetector.cxx?r=97844a11&h=42#50
[4]
https://opengrok.libreoffice.org/xref/core/i18nutil/source/utility/unicode.cxx?r=c3c620c8&h=81#81
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=43808
[Bug 43808] [META] Right-To-Left (aka Complex Text Layout) language issues
(RTL/CTL)
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs