Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi all,

now I want to start with defining the geometry of line caps and soon struggle about definition problems:

The attribute svg:stroke-linecap is defined in ODF1.2 part1 section 20.164 using a reference to http://www.w3.org/TR/2003/REC-SVG11-20030114/ In svg the attribute stroke-linecap can be combined with attibute stroke-dasharray. In this case both Seamonkey and Opera render it in the way, that the caps are added to each dash. So I assume, that it is the correct way for svg.

In ODF1.2 section 19.218.5 exists an attribute draw:style for the element <draw:stroke-dash> with values 'rect' and 'round'. It defines the shape of the dashes.

So the question is, how should the new property linecap work on dashed lines? It is possible, that a document sets linecap = 'round' and dash style = 'rect', which are contradictory. I have found no rule in the ODF1.2 spec to solve it.

Does an ODF conform application exist, that has linecap already implement? Otherwise we could suggest a solution to OASIS.

Microsoft Office has a line property "Endetyp" (German) with values 'Flach', 'Rund', and 'Rechteck' which corresponds to the linecap property. Microsoft Office applies the property to each dash, but the caps are not added to the dashes. Rounding is cut of the flat size of the inner dashes and only added to the outer dashes.

Kind regards
Regina






Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.