Description: When I open an RTF document that contains Hebrew text that is supposed to be written from right-to-left is shown as left-to-right text. When I convert the same RTF document to a DOCX (using Microsoft Word) and open that resulting DOCX file, the text shows correctly. Apparently it seems to be an issue with the RTF import not recognizing the RTL text formatting correctly. Steps to Reproduce: 1. open attached file Hebrew_RTL_TEST.rtf 2. text is shown from left to right --> not correct 3. open attached file Hebrew_RTL_TEST.docx 4. text is shown correctly written from right to left Actual Results: wrong text direction (left to right) for RTF file Expected Results: text direction should be right-to-left when opening an RTF file Reproducible: Always User Profile Reset: No Additional Info: see attachment
Created attachment 152677 [details] RTF file to reproduce issue
Created attachment 152678 [details] DOCX file
Created attachment 152679 [details] Screenshots
Regression introduced by: https://cgit.freedesktop.org/libreoffice/core/commit/?id=4ee2a882dddb395a816cd54004b634d57cfb2446 author Miklos Vajna <vmiklos@collabora.co.uk> 2015-04-17 10:44:47 +0200 committer Miklos Vajna <vmiklos@collabora.co.uk> 2015-04-17 11:35:27 +0200 commit 4ee2a882dddb395a816cd54004b634d57cfb2446 (patch) tree 5214a7e75d9a185d56f22538af4317798778eeee parent 7e5980ccf39b54240524f059a65497b766af91cc (diff) tdf#86182 RTF import: fix handling of \rtlpar Bisected with: bibisect-50max Adding Cc: to Miklos Vajna
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/600025475630c59c53a9086ba6d95124416725b3%5E%21 tdf#126309 RTF import: fix not needed para adjust swap for bidi text It will be available in 6.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Verified in Version: 6.4.0.0.alpha0+ Build ID: 967644f09b8b7abe3b86d1647820f14e0196f8b4 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US Calc: threaded @Miklos, thanks for fixing this issue!
Miklos Vajna committed a patch related to this issue. It has been pushed to "libreoffice-6-3": https://git.libreoffice.org/core/+/8fad7ee194b8f049ea845bdf9654060111b4e841%5E%21 tdf#126309 RTF import: fix not needed para adjust swap for bidi text It will be available in 6.3.1. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.