<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - [PDF][RTL] Math object in an RTL paragraph renders incorrectly when exporting to PDF"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=116746">116746</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[PDF][RTL] Math object in an RTL paragraph renders incorrectly when exporting to PDF
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.0.2.1 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>shimi.chen@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
Since version 6 of Writer, there is a regression were math objects are
displayed incorrectly when exporting an RTL document as a PDF file.
An example file is attached. If converted to PDF using LibreOffice 6.0+
(fresh), than the formula in the pdf looks messed up.

Using version 5.4.5 (still), the bug does not occur. In addition, if the
directionality of the text changes to LTR then the PDF is made correctly.

This bug occurs in both 6.0.0.3 and 6.0.2.1 which are the oldest and newest
versions of LibreOffice 6 which are available in the repositories of Arch
Linux.


Steps to Reproduce:
1. Set directionality of text to Right-To-Left (Shift+Ctrl+D)
2. Insert -> Object -> Formula...
3. Enter some formula
4. Export file to PDF

Actual Results:  
Formula is rendered incorrectly in PDF file.

Expected Results:
Formula should have the same rendering as in the odt document.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 6.0.2.1.0+
Build ID: 6.0.2-1
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.utf8); Calc: group


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101
Firefox/59.0</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>