W3C home > Mailing lists > Public > xsl-editors@w3.org > October to December 2008

[Bug 6274] New: [XSLFO] Reference to "Alphabetic" in 7.17.2 letter-spacing

From: <bugzilla@wiggum.w3.org>
Date: Thu, 04 Dec 2008 14:59:52 +0000
To: xsl-editors@w3.org
Message-ID: <bug-6274-2197@http.www.w3.org/Bugs/Public/>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6274

           Summary: [XSLFO] Reference to "Alphabetic" in 7.17.2 letter-
                    spacing
           Product: XSLFO
           Version: 1.1
          Platform: All
               URL: http://lists.w3.org/Archives/Public/xsl-
                    editors/2006JanMar/0028.html
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSL-FO
        AssignedTo: alb.w3c@gmail.com
        ReportedBy: Tony.Graham@MenteithConsulting.com
         QAContact: xsl-editors@w3.org


I've just stumbled over something in the spec. 7.17.2 letter-spacing (in
XSL 1.1 CR, similar in XSL 1.0) mentions that letter-spacing is applied
in halves before and after every character that is classified as
"Alphabetic" in the Unicode database. This does not include characters
like "-" (002D) or "/" (002F). Assume an fo:block which allows for
letter-spacing that contains the text "XSL-FO". Between "S" and "L", you
get two half letter-spaces (together 1 letter-space). Between "L" and "-",
you get only one half letter-space if you strictly follow the spec. This
is not quite what I would expect and not what various layouters
currently do (Apache FOP, two commercial FO implementations I checked,
OpenOffice 2.0 and Word 2003).

Am I missing something or is this a problem in the spec?

For quick reference, here's the beginning of the character ranges making
up "Alphabetic" characters (from DerivedCoreProperties.txt, v4.1.0):

# Derived Property: Alphabetic
#  Generated from: Lu+Ll+Lt+Lm+Lo+Nl + Other_Alphabetic

0041..005A    ; Alphabetic # L&  [26] LATIN CAPITAL LETTER A..LATIN CAPITAL
LETTER Z
0061..007A    ; Alphabetic # L&  [26] LATIN SMALL LETTER A..LATIN SMALL LETTER
Z
00AA          ; Alphabetic # L&       FEMININE ORDINAL INDICATOR
00B5          ; Alphabetic # L&       MICRO SIGN
00BA          ; Alphabetic # L&       MASCULINE ORDINAL INDICATOR
00C0..00D6    ; Alphabetic # L&  [23] LATIN CAPITAL LETTER A WITH GRAVE..LATIN
CAPITAL LETTER O WITH DIAERESIS
00D8..00F6    ; Alphabetic # L&  [31] LATIN CAPITAL LETTER O WITH STROKE..LATIN
SMALL LETTER O WITH DIAERESIS
00F8..01BA    ; Alphabetic # L& [195] LATIN SMALL LETTER O WITH STROKE..LATIN
SMALL LETTER EZH WITH TAIL


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 4 December 2008 15:00:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 11:00:00 GMT