Bug 122409

Summary: Print and PDF export issue with RTL formulas
Product: LibreOffice Reporter: Mohamed Anis MANI <manimohamed>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: Armin.Le.Grand, dgp-mail, himajin100000, lo_bugs, manimohamed, raal, xiscofauli
Priority: medium Keywords: bibisected, bisected, filter:pdf, regression
Version: 6.0.0.0.alpha0+   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103378, 112810    
Attachments: This is the exported PDF file.
The source file
terminal output from bibisect in linux 64-6.0 repository

Description Mohamed Anis MANI 2019-01-01 17:26:46 UTC
Description:
I often use LibreOffice to write mathematical exams in Arabic (Right to left display). 

The formulas display well in the Writer when editing but when I try to print or export the document to PDF the formulas doesn't render well.

Steps to Reproduce:
1. Switch to RTL typing mode
2. Insert a formula in the document
3. Try to export to PDF or to print

Actual Results:
The formulas doesn't render well

Expected Results:
The formulas have to render exactly like in Writer.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Comment 1 Dieter 2019-01-02 08:01:17 UTC Comment hidden (obsolete)
Comment 2 Mohamed Anis MANI 2019-01-02 14:45:04 UTC
Created attachment 147937 [details]
This is the exported PDF file.
Comment 3 raal 2019-01-02 21:52:44 UTC
Please attach also source document.
Comment 4 Mohamed Anis MANI 2019-01-04 15:28:56 UTC
Created attachment 148036 [details]
The source file
Comment 5 Timur 2019-01-04 16:28:37 UTC
No repro 5.4. Repro 6.0 and 6.3+. Looks like regressionn.
Comment 6 Terrence Enger 2019-01-10 00:51:14 UTC
Created attachment 148193 [details]
terminal output from bibisect in linux 64-6.0 repository

Working on debian-buster in bibisect-linux-64-6.0 repository, I see
that that bug entered LibreOffice in

    commit 302af8c2da58719844d22483b65a9fe5b3674684
    Author: Armin Le Grand <Armin.Le.Grand@cib.de>
    Date:   Tue Aug 22 10:05:15 2017 +0200

        sw: Use primitive renderer for graphics
    
        To allow using the prepared VectorData of imported
        Metafiles (and EMF+), let Writer use a Primitive
        Renderer for Graphic output. For now, use a temp
        PrimitiveRenderer (until sw is fully adapted to
        primitives).
    
        Change-Id: Iaa39111c5ef35a052394be6e4d1b86a5a8e33068
        Reviewed-on: https://gerrit.libreoffice.org/41411
        Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
        Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>

I am removing keyword bibisectRequest and adding keywords bibisected
and bisected.  I am adding Armin Le Grand to cc.
Comment 7 Xisco FaulĂ­ 2019-09-26 11:07:14 UTC
Duplicate of bug 115967

*** This bug has been marked as a duplicate of bug 115967 ***