Re: [JAVA2D] ZWJ and ZWNJ

2006-08-23 Thread douglas felt
Phil's right. To be a bit more specific: If ZWNJ or ZWJ is in the text, full text layout will be performed (rather than a simple drawString). In Arabic, ZWNJ will typically cause the font's ligature formation rules to 'miss' the pair and so inhibit the ligature. When we do default ligature

Re: [JAVA2D] ZWJ and ZWNJ

2006-07-25 Thread Peter B. West
On Mon, 2006-07-24 at 12:27 +0100, Peter B. West wrote: Doug noted earlier that the implementation supports 0x200C (ZERO WIDTH NON-JOINER) and 0x200D (ZERO WIDTH JOINER). Not supported (along with ZWSP) is WORD JOINER 0x2060. I assume this means that neither will ever occupy any rendering

[JAVA2D] ZWJ and ZWNJ

2006-07-24 Thread Peter B. West
Doug noted earlier that the implementation supports 0x200C (ZERO WIDTH NON-JOINER) and 0x200D (ZERO WIDTH JOINER). Not supported (along with ZWSP) is WORD JOINER 0x2060. I assume this means that neither will ever occupy any rendering space. What's the effect of ZWNJ and ZWJ on ligatures? Will

Re: [JAVA2D] ZWJ and ZWNJ

2006-07-24 Thread Phil Race
I assume this means that neither will ever occupy any rendering space. It will likely depend on the font. If the font maps it to a zero width glyph then yes But if the font doesn't map it, and since JDK doesn't treat it specially, then it'll end up mapped to the missing glyph just like *any*