Description: When a certain font is used for watermarks, the text is displayed incorrectly Steps to Reproduce: 1. Add Watermark using the wrong font (thats all) Actual Results: Watermark text is displayed incorrectly Expected Results: Watermark text is displayed correctly Reproducible: Always User Profile Reset: No Additional Info: You can NOT use any font to get this effect. The font has to be created with 'bad outlines'. An example for this is the "Bahnschrift" font. - If you know a bit about SVGs: The outer line is not created by a single multigon, but by overlaping parts. The parts where one part of the letter intersects the other part seems to cause this bug. - If you don't know SVGs: SVGs can be made up of one single shape or multiple shapes combined. You can add two intersection squares and save them as such. You ca also combine them into one shape and have the outline of both. The first case seems to be the problem here (two shapes intersecting). The parts that intersect each other are the parts that look incorrect. I once knew how to extract the single glyph as SVG, but I aready forgot, Can't be that difficult though. If you upload the Bahnschrift font on https://opentype.js.org/ you can see the problem as well. The outlines are created with the blue dots. The red dots seem to be bezier curves (no idea though). The blue dots within the black shape are the ones that cause the problem. They indicate that a shape overlaps the other shape. The middle bar of the "E" for example is a single shape. The top bar, the bottom bar as well as the left bar are also single shapes. Why I think it's the problem of LibreOffice and not of the Bahnschrift font simply is that the same font works in regular text in black font colour, grey font colour and black font colour with a transparency of 70%. So you would think that the same font looks the same way in the watermark. -------------------------------------------------- Version: 7.3.3.2 (x64) / LibreOffice Community Build ID: d1d0ea68f081ee2800a922cac8f79445e4603348 CPU threads: 16; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win Locale: en-GB (de_AT); UI: de-DE Calc: CL (So far I only tested this on Windows because I yet have to find out how to install fonts on my Linux machine.)
Created attachment 180350 [details] bahnschrift.ttf The regular Windows Bahnschrift font. Since a quick google search shows that you can download this font for free from multiple sites I think it's OK to share it for bug report purposes.
Created attachment 180351 [details] Writer text file - bug 149270 ODT file with multiple examples: Page 1: - Watermark only. Characters B, E, H and R as example in the Bahnschrift font. Everything else was left to default Page 2: - Same as 1 plus "BEHR" in Bahnschrift font in colour black. Page 3: - Same as 1 plus "BEHR" in Bahnschrift font in colour black with 70% transparency. The watermark font below shows the bug, the 'text' font does not.
Created attachment 180352 [details] Writer pdf file - bug 149270 The odt file exported as pdf in case the bug can not be observed on a different machine.
Created attachment 180353 [details] Observed example of bug 149270 In case the odt file as well as the pdf file look fine on your PC, this is how it looks like on my machine.
Created attachment 180354 [details] Bahnschrift semi bold in Fontwor shape
You need no Watermark but the problem is already visible in Fontwork-shapes.
Please retest, looking good to me. Version: 7.5.3.2 (X86_64) / LibreOffice Community Build ID: 9f56dff12ba03b9acd7730a5a481eea045e468f3 CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded