[Libreoffice-bugs] [Bug 142161] New: [EMF] PenStyle rendering is inaccurate, PS_INSIDEFRAME is incorrect

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri May 7 21:24:28 UTC 2021


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

            Bug ID: 142161
           Summary: [EMF] PenStyle rendering is inaccurate, PS_INSIDEFRAME
                    is incorrect
           Product: LibreOffice
           Version: 7.0.5.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: graphics stack
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: frob at df.ru

Description:
LO seems to wrongly scale dashes in pen strokes and not consider PS_INSIDEFRAME
for PenStyle in EMF.

Steps to Reproduce:
Open attached EMF sample.

Actual Results:
LO draws almost solid lines with a minimal gaps. Middle shape in the bottom row
has the same size as other shapes.

Expected Results:
MS seems to use pen width to calculate the radius of the dots and add a gap of
about same size between dots and/or dashes.
Width of the pen have to be equally distributed on both side of the path for
all pens except PS_INSIDEFRAME (middle in the bottom row).
For PS_INSIDEFRAME according to the spec all width of the pen should be used
inside of the path -- the shape size should match with BBox.


Reproducible: Always


User Profile Reset: No



Additional Info:
Thin black lines are added to highlight the difference. Y-coord for them are
200, 210, 360. Shapes on the bottom line have their Ymin/Ymax at 210 and 360.
Pen width is 20.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210507/3413506c/attachment.htm>


More information about the Libreoffice-bugs mailing list