Bug 159759 - SVG text misplaced on PNG export
Summary: SVG text misplaced on PNG export
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
(earliest affected) alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Graphics-Export regression-scaled-glyph-positions
  Show dependency treegraph
Reported: 2024-02-18 09:54 UTC by Telesto
Modified: 2024-02-28 12:48 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

Faulty export (214.25 KB, image/png)
2024-02-18 09:55 UTC, Telesto

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2024-02-18 09:54:54 UTC
SVG text misplaced on PNG export

Steps to Reproduce:
1. Open attachment 169804 [details] and select the image
2. File -> Export -> PNG
3. Press OK and OK in the next dialog

Actual Results:
See screenshot

Expected Results:
Text at proper location

Reproducible: Always

User Profile Reset: No

Additional Info:
Version: (X86_64) / LibreOffice Community
Build ID: 7d594687216f183a681ecfe7e1d424d8a55422c2
CPU threads: 8; OS: macOS 14.3; UI render: Skia/Raster; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded
Comment 1 Telesto 2024-02-18 09:55:29 UTC
Created attachment 192616 [details]
Faulty export
Comment 2 Stéphane Guillou (stragu) 2024-02-19 00:25:33 UTC
Confirmed via bug 140473 comment 1.
Comment 3 Stéphane Guillou (stragu) 2024-02-28 12:48:37 UTC
Bibisected with linux-64-7.5 repo to first bad build [5e9e431b4a9bc67357adaf635c34bdfd3ee61321] which points to:

commit 1fa731d03ba0f22cb9392a578124ea977eaab2e9
author	Caolán McNamara 	Tue Aug 16 23:39:53 2022 +0100
committer	Caolán McNamara 	Thu Aug 18 20:30:33 2022 +0200
tdf#150462 don't prescale dxarray before using DrawTextArray
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138448

Caolán, can you please have a look?

SVG export looks fine.
Similar to bug 154065.