<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 - Issue reading RTF docs. Font translate table not working"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=138859">138859</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Issue reading RTF docs. Font translate table not working
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>All
          </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>john@jcoppens.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
I get Word (.doc) forms (which internally seem to be really RTFs). I have to
fill in the forms, convert to PDF and send the result back.

When viewing the doc in LO, selecting a text, the font shown is always '0'.
Inside the doc, two fonts are named: 
{\fonttbl{\f1\fcharset1 Verdana}{\f2\fcharset1 Arial Narrow}}
and all texts in the .doc are assigned to either \f1 or \f2

When defining entries in the Font Translation Table, no effect can be seen if I
enter, eg.,
    Arial Narrow           Archivo Narrow
and press Apply (or reload the document)



Steps to Reproduce:
1. Open the attached .doc
2. Set cursor on first field (Ingenieria) This text is declared as 'Verdana'.
Font field shows '0'
3. Set cursor on Processing. This text is declared as "Arial Narrow" Font field
show '0'
4. Declare in the font translate table  'Arial Narrow' replace with
'ArchivoNarrow' (install if necessary)
5. Apply - nothing changes.

Actual Results:
2. This text is declared as 'Verdana'. Font field shows '0'
3. This text is declared as "Arial Narrow" Font field show '0'
5. Apply - nothing changes.

Expected Results:
2. Font field shows 'Verdana'.  
3. Font field show "Arial Narrow"
5. Should re-format the text on-screen


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.3.1
Build ID: d7547858d014d4cf69878db179d326fc3483e082
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Distro in in fact Slackware64-current

Notes:

If I enter (in the font translate table) a convert rule with fonr '0' to
'ArchivoNarrow' the translate table works! But, as both text fonts appear as
'0', I can't distinguish between both. So this issue seems to be reduced to LO
not marking the text font correctly.</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>