You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/08/28 20:25:10 UTC

[Bug 120707] When converting to bitmaps, thick lines with line cap 'Flat' generate additional space

https://issues.apache.org/ooo/show_bug.cgi?id=120707

Regina Henschel <rb...@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
            Summary|When converting to bitmaps, |When converting to bitmaps,
                   |colors are added and        |thick lines with line cap
                   |positions are altered.      |'Flat' generate additional
                   |                            |space
     Ever confirmed|0                           |1

--- Comment #5 from Regina Henschel <rb...@t-online.de> ---
The second example shows the correct and desired behavior, when Anti-Aliasing
is enabled. Goto Tools > Options > OpenOffice.org > View and uncheck "Use
Anti-Aliasing". When you then convert the drawing to bitmap no gray pixels are
added.

The first example shows a bug.

To reproduce the bug:
1. Draw a line. (any straight line, arc, any line)
2. Set the line width to 1 cm.
3. Make sure, that the line ends are set to 'Flat'.
4. Context menu > Convert > To Bitmap
5. Context menu of bitmap > Line > Continuous
Notice, that there is space between line end and the border line of the bitmap.

You get the same error this way:
4. Copy line to clipboard
5. Insert special with kind 'bitmap'.
Now you get a bitmap with white background. Set the page background to a color
and you see again, that there is space between line end and picture edge.

If you set the line ends to 'Square' or to 'Round' and do steps 4 and 5 again,
you can notice, that now the bitmap has the correct size and you can notice
that the space in case of 'Flat' line ends are the same as the additional room
needed for the line caps. But the error was not introduced with line caps, it
can be seen already in OOo3.2

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