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

            Bug ID: 158298
           Summary: Shadow of wrapped lines of text is shifted in SVG
                    export
           Product: LibreOffice
           Version: 7.5.0.0 alpha0+
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Keywords: bibisected, bisected, filter:svg, regression
          Severity: normal
          Priority: medium
         Component: filters and storage
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
            Blocks: 111450, 122886

Created attachment 190937
  --> https://bugs.documentfoundation.org/attachment.cgi?id=190937&action=edit
sample ODP

Text shadow in a text box or shape is shifted for automatically wrapped lines
when exporting to SVG.

Steps:
1. Open attached ODP
2. Export to SVG

Alternatively: soffice --headless --convert-to svg file.odp

Result: extra wrapped lines of text have shadow shifted to the right, in
increments.
PNG, JPG and PDF exports are not affected.

Bibisected the issue with the linux-64-7.5 repo to two stages:

(1) Expected text shadow to no text shadow in build commit
[24bd024cb85b7d5ab151e8dec8be23afdbaf51c2] which points to:

commit  e735ad1c57cddaf17d6ffc0cf15b5e14fa63c4ad
author  Armin Le Grand (allotropia)     Tue Sep 13 13:42:54 2022 +0200
committer Armin Le Grand Wed Sep 14 09:54:18 2022 +0200
Rework of ShadowPrimitive2D
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139858

(2) Text shadow was later restored, but the second line is now shifted, with
build commit [02c79fe4069277be3f232c77470b16e33a8982ac] which points to:

commit  bd42cd1a325cd53db9fca0865f851bcd6e09ccc6
author  Caolán McNamara         Thu Mar 02 15:50:52 2023 +0000
committer       Christian Lohmaier      Thu Mar 09 12:35:15 2023 +0000
tdf#153672 Use RelativeMapMode so text in gdis are scaled/offset correctly
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148102

Armin and Caolán, can you please have a look?
Maybe not exactly a regression, as the shadow was bitmap before and is now
vector text, but would be perceived as a regression to users.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=111450
[Bug 111450] [META] SVG fileSave filter (Draw/Impress)
https://bugs.documentfoundation.org/show_bug.cgi?id=122886
[Bug 122886] [META] Bugs with textboxes in shapes
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to