Bug 142035 - [EMF] SetWorldTransform ignored for ExtTextOut
Summary: [EMF] SetWorldTransform ignored for ExtTextOut
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: EMF-WMF
  Show dependency treegraph
 
Reported: 2021-05-01 23:51 UTC by Valek Filippov
Modified: 2023-05-12 13:44 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
EMF sample ExtCreateFontIndirectW/SetWorldXForm/ExtTextOutW (712 bytes, image/x-emf)
2021-05-01 23:53 UTC, Valek Filippov
Details
Screenshot of the sample file in MSO for win (1.45 KB, image/png)
2021-05-01 23:54 UTC, Valek Filippov
Details
EMF sample with text rotated 15 degrees by 'Escapement' value in ExtCreateFontIndirectW (668 bytes, image/x-emf)
2021-05-10 23:12 UTC, Valek Filippov
Details
EMF sample with text rotated 15 degrees by 'Escapement' value in ExtCreateFontIndirectW and 30 degress by XForm (700 bytes, image/x-emf)
2021-05-10 23:13 UTC, Valek Filippov
Details
Screenshot of text rotated by Escapement, XForm and Escapement+XForm (5.28 KB, image/png)
2021-05-10 23:14 UTC, Valek Filippov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Valek Filippov 2021-05-01 23:51:46 UTC
Description:
LO doesn't properly applies transformation matrix to text.

Steps to Reproduce:
Open attached EMF sample in LO.

Actual Results:
Text is not rotated.

Expected Results:
Text rotated 30 degrees clockwise.


Reproducible: Always


User Profile Reset: No



Additional Info:
EMF also allows to rotate text by modifying Orientation value of the font object.

MSO on mac doesn't rotate text. Wordpad on windows makes terrible rasterization of it.
Comment 1 Valek Filippov 2021-05-01 23:53:28 UTC
Created attachment 171581 [details]
EMF sample ExtCreateFontIndirectW/SetWorldXForm/ExtTextOutW
Comment 2 Valek Filippov 2021-05-01 23:54:04 UTC
Created attachment 171582 [details]
Screenshot of the sample file in MSO for win
Comment 3 Valek Filippov 2021-05-01 23:55:41 UTC
This one is similar to https://bugs.documentfoundation.org/show_bug.cgi?id=141982
Comment 4 Roman Kuznetsov 2021-05-03 13:39:37 UTC
confirm in

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: a52590d76b89dc75be2aa87f4287624c89f1e82f
CPU threads: 4; OS: Mac OS X 11.3; UI render: default; VCL: osx
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
Calc: threaded
Comment 5 Valek Filippov 2021-05-10 23:12:23 UTC
Created attachment 171841 [details]
EMF sample with text rotated 15 degrees by 'Escapement' value in ExtCreateFontIndirectW

As per Bartosz request
Comment 6 Valek Filippov 2021-05-10 23:13:11 UTC
Created attachment 171842 [details]
EMF sample with text rotated 15 degrees by 'Escapement' value in ExtCreateFontIndirectW and 30 degress by XForm

As per Bartosz request
Comment 7 Valek Filippov 2021-05-10 23:14:46 UTC
Created attachment 171843 [details]
Screenshot of text rotated by Escapement, XForm and Escapement+XForm
Comment 8 QA Administrators 2023-05-12 03:19:56 UTC Comment hidden (obsolete)
Comment 9 Roman Kuznetsov 2023-05-12 13:44:53 UTC
Still repro in

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 99a88c9e55872214ce01d89447d18708e47e956b
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: threaded