Yep, that's exactly what I need. But hey, adding a 3MB library just for
this method, that is a little much. Hmm. fop.jar is only 1.7MB. :-) But
ICU4J looks interesting.

On 28.02.2006 20:39:16 Simon Pepping wrote:
> On Tue, Feb 28, 2006 at 05:50:29PM +0100, Jeremias Maerki wrote:
> > As you know, I'm currently looking into adding support for fixed spaces.
> > This had some effects on the handling of letter- and word-spacing. I've
> > got word-spacing together with fixed spaces working in the meantime but
> > I'm tracking down a problem with letter spacing. 7.16.2 says that only
> > the characters that are marked by Unicode as "Alphabetic" are eligible
> > for space-start and space-end traits from the letter-spacing property.
> > I'm trying to come up with an isAlphabetic(char ch) method in
> > CharUtilities but I'm having trouble there. "Alphabetic" [1] consists of
> > characters from several "general categories" and from "Other_Alphabetic".
> > The general categories are easy (see java.lang.Character's constants and
> > its getType(char) method). Does anyone have suggestions how best to
> > identify characters from "Other_Alphabetic"? I found a list in the
> > Unicode database which lists all the character ranges that make up
> > Other_Alphabetic but maybe there's already something in Java that I can
> > use. Thanks.
> > 
> > [1]
> Did you have a look at the ICU software:
> Esp. this static constant:
> looks promising.

Jeremias Maerki

Reply via email to