https://bugs.documentfoundation.org/show_bug.cgi?id=149270

            Bug ID: 149270
           Summary: Writer: Font of watermark is displayed incorrectly
           Product: LibreOffice
           Version: 7.3.3.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

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.)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to