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

Yousuf Philips (jay) (retired) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|DOCX: Shadow, emboss and    |DOCX: Shadow, emboss and
                   |engrave text effects not    |engrave advanced text
                   |imported correctly          |effects not imported
                   |                            |correctly - <w14:shadow>,
                   |                            |<w14:textOutline>,
                   |                            |<w14:textFill>

--- Comment #11 from Yousuf Philips (jay) (retired) <[email protected]> ---
Still present.

Version: 25.8.3.2 (X86_64)
Build ID: 8ca8d55c161d602844f5428fa4b58097424e324e
CPU threads: 4; OS: Linux 6.11; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded


As mentioned in comment 3, this document uses does not utilize the basic level
of these 3 text effects ( <w:shadow />, <w:emboss />, <w:imprint /> ), which LO
already supports, but instead uses the new font effect engine which outputs
tags for <w14:shadow>, <w14:textOutline>, and/or <w14:textFill> to make these
more advantage text effects.

Shadow utilizes just the <w14:shadow> tag, but also has a child <w14:srgbClr>
tag for the color. Looking at the character dialog, there is no means to set a
color for the shadow, so possibly this is a limitation of LO and ODF.

<w14:shadow w14:blurRad="50800" w14:dist="38100" w14:dir="2700000"
w14:sx="100000" w14:sy="100000" w14:kx="0" w14:ky="0" w14:algn="tl">
   <w14:srgbClr w14:val="000000">
      <w14:alpha w14:val="60000" />
   </w14:srgbClr>
</w14:shadow>

Emboss and Engrave utilize <w:outline>, <w:color>, <w14:shadow>,
<w14:textOutline> and <w14:textFill> tags to make their effects. LO understands
and applies <w:outline> and <w:color>, which is why the text 'Emboss' and
'Engrave' appear hidden, as text with a white outline is invisible in the
document. Looking at the character dialog, there is no means to set a fill
color of the text when outline is enabled, so possibly this is a limitation of
LO and ODF.

The <w14:textOutline> and <w14:textFill> tags are identical between the two
text effects and the difference is within the <w14:shadow> tag.

* Emboss *

<w14:shadow w14:blurRad="0" w14:dist="25400" w14:dir="13500000" w14:sx="0"
w14:sy="0" w14:kx="0" w14:ky="0" w14:algn="none">
   <w14:srgbClr w14:val="000000">
      <w14:alpha w14:val="50000" />
   </w14:srgbClr>
</w14:shadow>

* Engrave *

<w14:shadow w14:blurRad="0" w14:dist="25400" w14:dir="2700000" w14:sx="0"
w14:sy="0" w14:kx="0" w14:ky="0" w14:algn="none">
   <w14:srgbClr w14:val="000000">
      <w14:alpha w14:val="50000" />
   </w14:srgbClr>
</w14:shadow>

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

Reply via email to