Summary: | draw:style="round" under draw:stroke-dash is ignored. | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Brennan Vincent <brennanv> |
Component: | Libreoffice | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | Inherited From OOo | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | 48066 | ||
Bug Blocks: | |||
Attachments: |
File with "round" (obsolete by next attachment)
Correct file with "round" File with "rect" |
Description
Brennan Vincent
2012-08-09 02:33:24 UTC
Created attachment 65323 [details]
Correct file with "round"
Created attachment 65324 [details]
File with "rect"
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. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.