Bug 142241 - [EMF] Scaling of the text
Summary: [EMF] Scaling of the text
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: EMF-WMF
  Show dependency treegraph
 
Reported: 2021-05-12 16:52 UTC by Valek Filippov
Modified: 2023-09-23 21:22 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
EMF sample with scaled text (1.21 KB, image/x-emf)
2021-05-12 16:54 UTC, Valek Filippov
Details
Screenshot from MS Paint (5.77 KB, image/png)
2021-05-12 16:55 UTC, Valek Filippov
Details
Screenshot from LO 7.2master of May 11, 2021 (2.76 KB, image/png)
2021-05-12 16:56 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-12 16:52:39 UTC
Description:
LO doesn't scale text the same way as MS implementation

Steps to Reproduce:
Open attached EMF sample.

Actual Results:
LO seems to scale XShifts between characters

Expected Results:
XForm should be applied to the text.


Reproducible: Always


User Profile Reset: No



Additional Info:
https://github.com/LibreOffice/core/blob/master/emfio/source/reader/emfreader.cxx#L1788:L1799
Comment 1 Valek Filippov 2021-05-12 16:54:17 UTC
Created attachment 171928 [details]
EMF sample with scaled text

DLP1 is not scaled for a reference.
DLP2 -- X scale 4
DLP3 -- Y scale 4
DLP4 -- X and Y scale 4
Comment 2 Valek Filippov 2021-05-12 16:55:27 UTC
Created attachment 171929 [details]
Screenshot from MS Paint
Comment 3 Valek Filippov 2021-05-12 16:56:38 UTC
Created attachment 171930 [details]
Screenshot from LO 7.2master of May 11, 2021
Comment 4 Roman Kuznetsov 2021-05-22 18:01:48 UTC
confirm in

Version: 7.2.0.0.alpha1+ / LibreOffice Community
Build ID: 128f67e0efa02294205a1abe1be874557ecdcecd
CPU threads: 4; OS: Linux 5.5; UI render: default; VCL: kf5 (cairo+xcb)
Locale: ru-RU (ru_RU.UTF-8); UI: ru-RU
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-05-19_06:21:05
Calc: threaded
Comment 5 QA Administrators 2023-05-23 03:14:09 UTC Comment hidden (obsolete)
Comment 6 Kira Tubo 2023-09-23 21:22:59 UTC
Reproduced in daily master build and 3.3. Updating earliest version to Inherited from OOo. 

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 486ae5db6987411d5e394de94b2b077099d03856
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded