<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>6274</bug_id>
          
          <creation_ts>2008-12-04 14:59:52 +0000</creation_ts>
          <short_desc>Reference to &quot;Alphabetic&quot; in 7.17.2 letter-spacing</short_desc>
          <delta_ts>2008-12-04 17:21:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XSLFO</product>
          <component>XSL-FO</component>
          <version>1.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://lists.w3.org/Archives/Public/xsl-editors/2006JanMar/0028.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tony Graham">tgraham</reporter>
          <assigned_to name="Anders Berglund">alb.w3c</assigned_to>
          
          
          <qa_contact name="Mailing list for comments on XSL (XSl-FO)">xsl-editors</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>22677</commentid>
    <comment_count>0</comment_count>
    <who name="Tony Graham">tgraham</who>
    <bug_when>2008-12-04 14:59:52 +0000</bug_when>
    <thetext>I&apos;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
&quot;Alphabetic&quot; in the Unicode database. This does not include characters
like &quot;-&quot; (002D) or &quot;/&quot; (002F). Assume an fo:block which allows for
letter-spacing that contains the text &quot;XSL-FO&quot;. Between &quot;S&quot; and &quot;L&quot;, you
get two half letter-spaces (together 1 letter-space). Between &quot;L&quot; and &quot;-&quot;,
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&apos;s the beginning of the character ranges making
up &quot;Alphabetic&quot; characters (from DerivedCoreProperties.txt, v4.1.0):

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

0041..005A    ; Alphabetic # L&amp;  [26] LATIN CAPITAL LETTER A..LATIN CAPITAL LETTER Z
0061..007A    ; Alphabetic # L&amp;  [26] LATIN SMALL LETTER A..LATIN SMALL LETTER Z
00AA          ; Alphabetic # L&amp;       FEMININE ORDINAL INDICATOR
00B5          ; Alphabetic # L&amp;       MICRO SIGN
00BA          ; Alphabetic # L&amp;       MASCULINE ORDINAL INDICATOR
00C0..00D6    ; Alphabetic # L&amp;  [23] LATIN CAPITAL LETTER A WITH GRAVE..LATIN CAPITAL LETTER O WITH DIAERESIS
00D8..00F6    ; Alphabetic # L&amp;  [31] LATIN CAPITAL LETTER O WITH STROKE..LATIN SMALL LETTER O WITH DIAERESIS
00F8..01BA    ; Alphabetic # L&amp; [195] LATIN SMALL LETTER O WITH STROKE..LATIN SMALL LETTER EZH WITH TAIL</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22689</commentid>
    <comment_count>1</comment_count>
    <who name="Tony Graham">tgraham</who>
    <bug_when>2008-12-04 17:21:37 +0000</bug_when>
    <thetext>This modifies http://lists.w3.org/Archives/Public/xsl-editors/2007JanMar/0005.html

The XSL FO SG decided to start the processing of an erratum to XSL 1.1 as follows:

Change to 7.17.2 letter-spacing:

Replace the paragraph

&quot;For an fo:character that in the Unicode database is classified as
&quot;Alphabetic&quot;, unless the treat-as-word-space trait has the value &quot;true&quot;,
the space-start and space-end traits are each set to a value as follows:&quot;

with

The set of fo:characters to which the letter-spacing is applied is
implementation defined.

Note: Typically the set is all characters with the following exceptions:
- combining diacritics
- characters where the treat-as-word-space trait has the value &quot;true&quot;
- fixed witdh spaces (U+2000 - U+200B) and dashes (U+2012 - U+2013)
- certain symbols, e.g. box drawing
- characters in scripts where the letters are connected; e.g. Arbaic
- characters in fonts where the letters are connected;
  e.g. a latin &quot;script&quot; font

For an fo:character that in the Unicode database is classified as
&quot;Alphabetic&quot;, unless the treat-as-word-space trait has the value &quot;true&quot;,
the space-start and space-end traits are each set to a value as follows:
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>