[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Updated: (OFFICE-3710) 19.145draw:enhanced-path current point definition unclear.
[ http://tools.oasis-open.org/issues/browse/OFFICE-3710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Weir updated OFFICE-3710:
---------------------------------
Component/s: Graphics
Affects Version/s: ODF 1.2 COS 1
(was: ODF 1.2)
Description:
In the definition for draw:enhanced-path the current point definition seemsto be
unclear. What is the current Point for first subpath in an enhanced path shape?
It is important to know for commands like A or W.
When looking at the definition of svg on which draw:enhanced-path is based on one
can see that at the beginning of a path always a MoveTo command is needed.
However when looking at what implementations are doing we see a different behaviour.
When working on the implementation one of the Calligra developers noted differences
in what OOo/MSO are doing to what Calligra is doing. OOo and MSO set the current
point to the first point in the arc in case of A and W. Calligra uses 0 0. Using B
and V would make the situation more clear.
If one of the behaviours is correct it might be a good idea to improve the wording of
the spec to make more clear what the correct behaviour is.
was:
In the definition for draw:enhanced-path the current point definition seames to be
unclear. What is the current Point for first subpath in an enhanced path shape?
It is important to know for commands like A or W.
When looking at the definition of svg on which draw:enhanced-path is based on one
can see that at the beginning of a path always a MoveTo command is needed.
However when looking at what implementations are doing we see a different behaviour.
When working on the implementation one of the Calligra developers noted differences
in what OOo/MSO are doing to what Calligra is doing. OOo and MSO set the current
point to the first point in the arc in case of A and W. Calligra uses 0 0. Using B
and V would make the situation more clear.
If one of the behaviours is correct it might be a good idea to improve the wording of
the spec to make more clear what the correct behaviour is.
There are two issues that we need to consider:
1) What is the initial "current point"?
2) What is the new "current point" after each operation?
The SVG spec says explicitly that a path must begin with a Moveto operation:
http://www.w3.org/TR/SVG/paths.html#PathDataMovetoCommands
This ambiguity will go away if we converge on SVG.
> 19.145 draw:enhanced-path current point definition unclear.
> -----------------------------------------------------------
>
> Key: OFFICE-3710
> URL: http://tools.oasis-open.org/issues/browse/OFFICE-3710
> Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
> Issue Type: Bug
> Components: Graphics
> Affects Versions: ODF 1.2 COS 1
> Reporter: Thorsten Zachmann
>
> In the definition for draw:enhanced-path the current point definition seemsto be
> unclear. What is the current Point for first subpath in an enhanced path shape?
> It is important to know for commands like A or W.
> When looking at the definition of svg on which draw:enhanced-path is based on one
> can see that at the beginning of a path always a MoveTo command is needed.
>
> However when looking at what implementations are doing we see a different behaviour.
> When working on the implementation one of the Calligra developers noted differences
> in what OOo/MSO are doing to what Calligra is doing. OOo and MSO set the current
> point to the first point in the arc in case of A and W. Calligra uses 0 0. Using B
> and V would make the situation more clear.
>
> If one of the behaviours is correct it might be a good idea to improve the wording of
> the spec to make more clear what the correct behaviour is.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]