Bug 145071 - Watermark is vertically stretched
Summary: Watermark is vertically stretched
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.5.2 release
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Page-Watermark
  Show dependency treegraph
 
Reported: 2021-10-11 12:40 UTC by Regina Henschel
Modified: 2024-11-09 11:54 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Watermark compared to normal text (12.52 KB, application/vnd.oasis.opendocument.text)
2021-10-11 12:40 UTC, Regina Henschel
Details
watermark in dox plus screenshot (46.97 KB, application/haansoftdocx)
2021-10-11 12:44 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2021-10-11 12:40:05 UTC
Created attachment 175665 [details]
Watermark compared to normal text

Open attached document. It has a watermark text and the same characters and font as normal text. If you compare them, you see, that the watermark text is too high.
Comment 1 Regina Henschel 2021-10-11 12:44:48 UTC
Created attachment 175667 [details]
watermark in dox plus screenshot

The same error becomes visible, if you import a docx file with watermark. The screenshot in the file shows how Word renders the watermark.
Comment 2 Dieter 2021-10-29 08:38:13 UTC
(In reply to Regina Henschel from comment #0)
> Created attachment 175665 [details]
> Watermark compared to normal text
> 
> Open attached document. It has a watermark text and the same characters and
> font as normal text. If you compare them, you see, that the watermark text
> is too high.

I confirm the observation, but I'm not sure about the expected result. LO Help says: "You cannot choose font size or font style for the watermark text. The text size will be scaled to fit in one line in the page background."
So if you add more text text height changes. So I won't expect same font size.
Comment 3 Buovjaga 2022-11-09 15:13:40 UTC
Confirmed.

Arch Linux 64-bit
Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b57307e8f3553fcb292c9c11fcf58bcef3a6cb3c
CPU threads: 8; OS: Linux 6.0; UI render: default; VCL: gtk3
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 8 November 2022
Comment 4 QA Administrators 2024-11-09 03:15:12 UTC Comment hidden (obsolete)
Comment 5 Regina Henschel 2024-11-09 11:54:08 UTC
The error still exists in Version: 24.8.1.2 (X86_64) / LibreOffice Community
Build ID: 87fa9aec1a63e70835390b81c40bb8993f1d4ff6
CPU threads: 32; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded


(In reply to Dieter from comment #2)
> I confirm the observation, but I'm not sure about the expected result. LO
> Help says: "You cannot choose font size or font style for the watermark
> text. The text size will be scaled to fit in one line in the page
> background."
> So if you add more text text height changes. So I won't expect same font
> size.

The error is not the scaling itself, but the fact that the scaling does not keep the width x height ratio of the characters.