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

            Bug ID: 153254
           Summary: FILEOPEN DOCX VML WordArt font attributes bold and
                    italic are not imported
           Product: LibreOffice
           Version: 7.6.0.0 alpha0+ Master
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: rb.hensc...@t-online.de

Created attachment 184967
  --> https://bugs.documentfoundation.org/attachment.cgi?id=184967&action=edit
text in WordArt in bold and italic with screenshot

Open attached document in LO. It has a VML WordArt shape with bold font, a
screenshot of it, a shape with italic font and a screenshot of it.

Error: Neither bold nor italic is imported.

The error happens in TextpathModel::pushToPropMap(..) method in
https://opengrok.libreoffice.org/xref/core/oox/source/vml/vmlformatting.cxx?r=ceaff89c

The loop in lines #955 to #979, which interprets the 'style' attribute of the
<v:textpath> element, does only evaluates the part "font-family" and
"font-size".
When you look at the definition of the <v:textpath> element in '19.1.2.23
textpath (Text Layout Path)' section in ECMA-376 part4, you can see, that the
'style' attribute can have a lot more parts. In the test document the parts
'font-style' and 'font-weight' are used.

LO cannot render all of these possible parts. Besides 'font-style' and
'font-weight' the part 'v-same-letterheights' is directly usable. The
'v-textspacing-mode', 'v-text-spacing' pair and the 'v-text-align' are only
partly possible in LO.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to