Bug 142550 - [EMF] Font orientation and escapement are partially supported
Summary: [EMF] Font orientation and escapement are partially supported
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-29 00:39 UTC by Valek Filippov
Modified: 2023-06-01 08:33 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
EMF sample with different Escapements (3.89 KB, image/x-emf)
2021-05-29 00:40 UTC, Valek Filippov
Details
How it should look like (7.85 KB, image/png)
2021-05-29 00:41 UTC, Valek Filippov
Details
How it looks in LO 7.2 master from May 21, 2021 (7.79 KB, image/png)
2021-05-29 00:42 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-29 00:39:15 UTC
Description:
LO renders EMF text that uses font with non-zero Escapement value as if the same value was set for Orientation.

Steps to Reproduce:
Open attached EMF sample.

Actual Results:
Each character rotated for the same angle as the whole line.

Expected Results:
Lines should be rotated, but characters should not.


Reproducible: Always


User Profile Reset: No



Additional Info:
Escapement/Orientation is applicable to fonts in WMF too.
Comment 1 Valek Filippov 2021-05-29 00:40:26 UTC
Created attachment 172425 [details]
EMF sample with different Escapements
Comment 2 Valek Filippov 2021-05-29 00:41:38 UTC
Created attachment 172426 [details]
How it should look like
Comment 3 Valek Filippov 2021-05-29 00:42:56 UTC
Created attachment 172427 [details]
How it looks in LO 7.2 master from May 21, 2021
Comment 4 raal 2021-05-29 14:54:39 UTC
confirm with Version: 7.2.0.0.alpha1+ / LibreOffice Community
Build ID: 42d2b2d55a27f11153ea1713737d93540a19211d
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
Comment 5 Sophie Sipasseuth 2023-06-01 08:33:56 UTC
The bug is still present in this version of Libre Office:

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 20873f073ae4a9478f0a84355f779a2176bd2ec8
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: CL threaded