https://bugs.freedesktop.org/show_bug.cgi?id=53276

Owen Genat <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|Other                       |All
             Status|UNCONFIRMED                 |NEW
            Version|unspecified                 |Inherited From OOo
         Depends on|                            |48066
     Ever confirmed|0                           |1

--- Comment #3 from Owen Genat <[email protected]> ---
Confirmed. Status set to NEW.  Version set to Inherited From OOo. Platform set
to All. Not sure if Component should be set to Draw? 

The central issue here is conformance with ODF v1.2, Part 1, 19.218.5 i.e., if
I am understanding correctly, the XML in round.odg has been edited for testing
to alter the default draw:style="rect" to draw:style="round". There does not
appear to be any facility when editing a line, either directly or via a style,
to change this particular attribute in the given context (against the
draw:stroke-dash element). Unfortunately, the dashes themselves appear to be
set to a rounded appearance by setting the cap style to "Round". In this case
content.xml (direct formatting) or styles.xml (style) contains:

> <style:graphic-properties draw:stroke="dash" 
> draw:stroke-dash="Fine_20_Dotted" ... svg:stroke-linecap="round" ... >

... which would appear to be a mis-interpretation of ODF v1.2, Part 1, 20.164: 

> The svg:stroke-linecap attribute specifies the shape of the end of open 
> subpaths when they are stroked.

LO appears to be treating each dash as a "subpath", which would seem erroneous.
Bug 48066 is related to this stroke-linecap matter so I have added it to the
Depends on list. I have tested creating rectangles using the type of line
indicated (Fine Dotted with Corner style "-none-" and Cap style "Flat") under
Ubuntu 10.04 x86_64 using: 

- v3.3.0.4 OOO330m19 Build: 6
- v3.4.6.2 OOO340m1 Build: 602
- v3.5.7.2 Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b
- v3.6.7.2 Build ID: e183d5b
- v4.0.6.2 Build ID: 2e2573268451a50806fcd60ae2d9fe01dd0ce24
- v4.1.3.2 Build ID: 70feb7d99726f064edab4605a8ab840c50ec57a

In all cases styles.xml contains:

> <draw:stroke-dash draw:name="Fine_20_Dotted" draw:display-name="Fine Dotted" 
> draw:style="rect" draw:dots1="1" draw:distance="0.457cm"/>

... rather than the "round" indicated. Changing this attribute value to "round"
manually has no effect on what is rendered in any of the listed versions.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to