[Libreoffice-bugs] [Bug 138859] New: Issue reading RTF docs. Font translate table not working

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Dec 12 15:48:14 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=138859

            Bug ID: 138859
           Summary: Issue reading RTF docs. Font translate table not
                    working
           Product: LibreOffice
           Version: 7.0.3.1 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: john at jcoppens.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201212/4d4cb873/attachment.htm>


More information about the Libreoffice-bugs mailing list