<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 - Incorrect characters copyable from PDF after export"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=116490">116490</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Incorrect characters copyable from PDF after export
          </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>Printing and PDF export
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>Harry.dent@dvltech.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
Exporting certain .odt files using the [File > Export As > Export as PDF...] or
[File > Export As > Export Directly as PDF] options produces a PDF file that
contains correct-looking characters. Incorrect characters are obtained when
selecting and copying from the PDF.

Bug only occurs when the the font DejaVu Sans is used.

Steps to Reproduce:
1. Run `libreoffice6.0 --headless --convert-to pdf:writer_pdf_Export
reproduced.odt`

OR

1. Open `reproduced.odt`
2. Choose [File > Export As > Export Directly as PDF]

Actual Results:  
Creates `reproduced.pdf`, which contains incorrectly mapped characters:

<span class="quote">> sgfsglh sgeohsglshg seo seo soef of
> fnall</span >

Expected Results:
Creates `reproduced.pdf`, which contains correctly mapped characters!

<span class="quote">> sgfsglh sgeohsglshg seo seo soef ofi
> final</span >


Reproducible: Always


User Profile Reset: No



Additional Info:
Upload of `reproduced.odt` to follow.


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Ubuntu Chromium/64.0.3282.167 Chrome/64.0.3282.167 Safari/537.36</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>