I think I've just found another bug in the spec. The "Alphabetic" classification does not include characters like "-" or "/" (our current break characters). So, assume a text that includes a string like "XSL-FO" and allow for letter-spacing. 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. Not quite what I would expect and not what other layouters do (two commercial FO implementations I checked, OpenOffice 2.0 and Word 2003). Grmbl.
On 01.03.2006 11:21:36 Jeremias Maerki wrote: <snip/> > FO on the other side applies half the > letter-spacing value on the start and end side of the glyph, and only > for the characters that are classified as "Alphabetic" by Unicode. <snip/> Jeremias Maerki
