Re: Arabisation and character sets

I'm not sure I can answer the specific question about "sufficient 
application control" over bidi text rendering, but as far as I can
tell, the Graphics2D.drawString() method combined with your specified
TextLayout instructions (e.g. BIDI_EMBEDDED* and RUN_DIRECTION*
TextAttributes) would be adequate for bidi applications.

  http://java.sun.com/products/jdk/1.2/docs/api/java.awt.font.TextLayout.html
  http://java.sun.com/products/jdk/1.2/docs/api/java.awt.font.TextAttributeSet.html
  http://java.sun.com/products/jdk/1.2/docs/api/java.awt.Graphics2D.html


> From: Jonathan Rosenne <rosenne@netvision.net.il>
> 
> It is not clear to me from the specs whether JDK 1.2 will offer a bidi
> application sufficient control over the base direction. Does each visible
> object that may contain text have such an attribute? Can the user override
> it manually? It seems to me not to be the case.
> 
> Jony
> 
> At 10:50 31/03/98 -0500, Gary Adams - JavaSoft East wrote:
> >> >It seems hilarious to me that we must use a proprietary Microsoft standard
> >> >in order to have Netscape render correctly. 
> >> 
> >> Hilarious yes, but less so if one considers that you are (apparently)
> >> testing on a Microsoft-proprietary platform.  Not that you have so many
> >> other options for Arabic...
> >> 
> >
> >Not that there are any JDK 1.2 browsers deployed yet, but there is some
> effort
> >to get cross platform internationalization support into the base Java 
> >application environment.
> >
> >
> http://java.sun.com/products/jdk/1.2/docs/guide/2d/spec/j2d-fonts.fm1.html#6
> 2258
> > http://java.sun.com/products/jdk/1.2/docs/guide/intl/spec.html
> >
> >

Received on Tuesday, 31 March 1998 13:51:53 UTC