On Thu, 2006-06-29 at 17:06 -0700, Phil Race wrote:
> Peter B. West wrote:
>
> >Some examples of the handling of ZWSP and SHY.
> >
> >LineBreakSample1.png was created with LineBreakSample1.java. No ZWSP or
> >SHY.
> >
> >LineBreakSample2.png " " " LineBreakSample2.java. There's a ZWSP in
> >Vin[]cent. Note the extra space in the layout, but no special character
> >marking.
> >
> >LineBreakSample3.png " " " LineBreakSample3.java. There's a ZWSP in
> >Vin[]cent, and an SHY in bril-liance.  Note the special character
> >marking ZWSP in the layout.
> >Note that the SHY is visible. The font is Luxi Serif Regular.
> >
> >I realize there is some controversy about the handling of SHY, but, for
> >better or worse, Unicode now wants it treated as a hint that is
> >invisible except at at lien break, IIUC.
> >
> >
> >
>
>
> The ZWSP handling is probably relying on the font mapping it.
>  I thought we should be handling it in any case. This needs some digging.
> You could perhaps (in this case) use the JRE's Lucida Sans Regular which
> is a superior
> superset of the Luxi font and does map it.
>
> But I don't think we'd claim to handle the SHY (Soft Hyphen) in the way
> you want.
>
>
> -phil.

Thanks Phil. I mention the SHY because I am using ZWSP with a custom
Attribute as a soft hyphen marker. One reason I did this was because of
the current handling of SHY. I don't mind; I'm quite happy to use ZWSP,
but it will be good to have predictable behaviour.

Peter

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to