ISSUE-2332: Last Call Comment: regarding Text layout
Last Call Comment: regarding Text layout
- State:
- OPEN
- Product:
- SVG 1.1 F2 Last Call
- Raised by:
- Erik Dahlström
- Opened on:
- 2010-06-23
- Description:
- Dear WG,
There appears to be a consistency problem in the wording for
the text layout chapter. It exists in the 1.1 Recommendation as well
so may be a candidate for correction in 1.1F2.
Section 10.5 discusses additional rules relating to attributes
'x', 'y', 'dx', 'dy' and 'rotate' when they contain a list of numbers.
The third bullet point states:
"When multiple XML characters map to a single glyph (e.g., when a ligature is used) - Suppose that the i-th and (i+1)-th XML characters map to a single glyph. In this case, the i-th value for the ‘x’, ‘y’, ‘dx’, ‘dy’ and ‘rotate’ attributes all apply when rendering the glyph. The (i+1)-th values, however, for ‘x’, ‘y’ and ‘rotate’ are ignored (exception: the final ‘rotate’ value in the list would still apply to subsequent characters), whereas the ‘dx’ and ‘dy’ are applied to the subsequent XML character (i.e., the (i+2)-th character), if one exists, by translating the current text position by the given amounts before rendering the first glyph associated with that character."
This paragraph implies an 'X' value may be ignored after
ligature formation if more 'X' values exist.
However, section 10.7.1 (Text layout introduction) discusses
Adjustments to the current text position. In the first bulleted list,
the third bullet states that a new absolute position adjustment occurs:
"For each character within a ‘text’, ‘tspan’, ‘tref’ and ‘altGlyph’ element which has an ‘x’ or ‘y’ attribute value assigned to it explicitly"
Then the following bulleted list describing 'text chunk's and their impact
as a result of absolute position adjustments, states in the first bullet:
"Ligatures only occur when a set of characters which might map to a ligature are all in the same text chunk."
According to the rules regarding creation of a new absolute position,
ignoring the (i+1)th 'x' value as stated in section 10.5 should never
occur since a new text chunk should have been established by the existence
of the (i+1)th 'x' value.
If section 10.7 is followed, text chunk assignment happens
before character->glyph mapping, whilst if section 10.5 is followed,
text chunk assignment appears to happen after character->glyph mapping
occurs.
Perhaps a clarifying sentence could be of help here.
Best regards,
Alex
Original email: http://www.w3.org/mid/BVDG4L.5SD0CB9CAXJ7@abbra.com - Related Actions Items:
- ACTION-2807 on Erik Dahlström to Create some new tests that relate to the problems in ISSUE-2332 - due 2010-07-06, open
- Related emails:
- Re: ligature formation across text chunks (from glenn@skynav.com on 2011-05-19)
- Re: ligature formation across text chunks (from tavmjong@free.fr on 2011-05-19)
- Re: ligature formation across text chunks (from glenn@skynav.com on 2011-05-13)
- Re: ligature formation across text chunks (from glenn@skynav.com on 2011-05-13)
- Re: ligature formation across text chunks (from vhardy@adobe.com on 2011-05-13)
- Re: ligature formation across text chunks (from alex@abbra.com on 2011-05-13)
- SVG/profiles/1.1F2/DoC disco.xsl,1.4,1.5 dump.html,1.3,1.4 (from cvsmail@w3.org on 2011-05-04)
- Agenda Nov 18 2010 SVG WG telcon (from ed@opera.com on 2010-11-17)
- SVG/profiles/1.1F2/DoC getxml.html,NONE,1.1 disco.xsl,1.3,1.4 dump.html,1.2,1.3 dump.xml,1.1,NONE (from cvsmail@w3.org on 2010-08-02)
- SVG/profiles/1.1F2/DoC disco.xsl,1.2,1.3 dump.html,1.1,1.2 (from cvsmail@w3.org on 2010-07-29)
- Re: ISSUE-2332: Comment regarding Text layout [SVG 1.1 F2 Last Call] (from alex@abbra.com on 2010-07-07)
- Re: ISSUE-2332: Comment regarding Text layout [SVG 1.1 F2 Last Call] (from tavmjong@free.fr on 2010-07-06)
- SVG/profiles/1.1F2/ua-tests ligature-breaking.svg,NONE,1.1 (from cvsmail@w3.org on 2010-07-05)
- Minutes June 29 2010 SVGWG telcon (from anthony.grasso@cisra.canon.com.au on 2010-06-30)
- Re: [SVG1.1F2 LC] Comment regarding Text layout (from ed@opera.com on 2010-06-23)
- ISSUE-2332: Comment regarding Text layout [SVG 1.1 F2 Last Call] (from sysbot+tracker@w3.org on 2010-06-23)
Related notes:
http://lists.w3.org/Archives/Public/public-svg-wg/2010JulSep/0008.html
Erik Dahlström, 17 Nov 2010, 16:05:04WG resolved to move this issue to SVG2, need to keep the issue open for now for DoC tracking.
Erik Dahlström, 18 Nov 2010, 20:22:29ACTION: Reject
Erik Dahlström, 26 Nov 2010, 09:06:38CHANGE-TYPE: None
Erik Dahlström, 26 Nov 2010, 09:06:49RESOLUTION: Address this issue in SVG2 as requested in http://lists.w3.org/Archives/Public/public-svg-wg/2010JulSep/0008.html.
Erik Dahlström, 26 Nov 2010, 09:08:08COMMENTER-RESPONSE: Accept
Erik Dahlström, 26 Nov 2010, 09:08:54Display change log