Bug 91315

Summary: Parentheses inverted in mixed RTL and LTR text in SVG export
Product: LibreOffice Reporter: Ofir <ofirr.dev>
Component: ImpressAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: kaplanlior, stgohi-lobugs, xiscofauli
Priority: medium    
Version: 4.4.3.2 release   
Hardware: Other   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on: 111806    
Bug Blocks: 43808, 108226, 108686    
Attachments: Presentation with mixed RTL and LTR text
SVG export with the parentheses inverted.
PDF export with the expected result
Text's major direction changed from RTL to LTR in SVG export

Description Ofir 2015-05-16 03:33:12 UTC
The attached presentation has mixed RTL and LTR text.
The last char is inverted in the SVG export.

Tested with LO 5.0.0.0.alpha1+ 2015-05-15 and LO 4.4.2.2, Ubuntu 15.04.
Comment 1 Ofir 2015-05-16 03:34:43 UTC
Created attachment 115639 [details]
Presentation with mixed RTL and LTR text
Comment 2 Ofir 2015-05-16 03:35:25 UTC
Created attachment 115640 [details]
SVG export with the parentheses inverted.
Comment 3 Ofir 2015-05-16 03:35:55 UTC
Created attachment 115641 [details]
PDF export with the expected result
Comment 4 A (Andy) 2015-05-16 07:23:09 UTC
Reproducible with LO 4.4.3.2, Win 8.1

Further bug: If I try to open the file in LO DRAW then no characters at all are shown.
Comment 5 Xisco FaulĂ­ 2015-12-02 15:33:36 UTC
This issue is still present in 

Version: 5.0.2.2
Build ID: 37b43f919e4de5eeaca9b9755ed688758a8251fe
Locale: es-ES (es_ES)

on Windows 7
Comment 6 QA Administrators 2017-01-03 19:39:16 UTC Comment hidden (obsolete)
Comment 7 Omer Zak 2017-11-09 07:03:22 UTC
In:

Version: 6.0.0.0.alpha1+
Build ID: 6070dec9ca9a15587a2aece81f9ae1ab5ac0f8c4
CPU threads: 8; OS: Linux 4.9; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.utf8); Calc: group
(Build from 2017-Nov-05 00:00)

OS: Debian 64bit Stretch (Debian 9.2, with some backported packages)


The parenthesis inversion bug was fixed.
However, there is another bug - the text's major direction changed from RTL to LTR. See new attachment.
Comment 8 Omer Zak 2017-11-09 07:04:55 UTC
Created attachment 137628 [details]
Text's major direction changed from RTL to LTR in SVG export
Comment 9 Ofir 2018-09-28 03:09:02 UTC
Wrong text direction in SVG export is still reproducible with LO 6.1.0.3.
Comment 10 Ofir 2019-05-24 21:54:36 UTC
Wrong text direction still reproducible in:

Version: 6.3.0.0.alpha1
Build ID: 547edd20e527fb02900f6174973770d26306e2e7
CPU threads: 1; OS: Linux 4.18; UI render: default; VCL: gtk3; 
Locale: en-US (en_IL); UI-Language: en-US
Comment 11 QA Administrators 2021-10-21 03:35:30 UTC Comment hidden (obsolete)
Comment 12 Ofir 2023-02-04 18:28:37 UTC
Reproducible in:

Version: 7.4.5.1 / LibreOffice Community
Build ID: 40(Build:1)
CPU threads: 2; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US
Ubuntu package version: 1:7.4.5-0ubuntu0.20.04.1~lo1
Calc: threaded