W3C home > Mailing lists > Public > www-international@w3.org > April to June 1998

Re: Arabisation and character sets

From: Jonathan Rosenne <rosenne@netvision.net.il>
Date: Thu, 02 Apr 1998 05:38:11 +0200
Message-Id: <3.0.5.32.19980402053811.007d7b20@mail.netvision.net.il>
To: Gary Adams - JavaSoft East <Gary.Adams@East.Sun.COM>
Cc: rein@exol.it, yergeau@alis.com, www-international@w3.org
The support offered is minimal. It will probably work for simple cases with
Windows, but in general it is insufficient and in no way platform
independent. It also seems to require bidi awareness very strongly, i.e. a
serious application involvement in the display of bidi data, since the
attributes are a property of the display instructions, not of the window.

It is not clear to me how the proposal addresses the display of text with
mixed attributes such as color or font. The whole text must be displayed
with a single instruction if one wants the reordering algorithm to look at
it correctly.

Jonathan

At 13:51 31/03/98 -0500, Gary Adams - JavaSoft East wrote:
>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 Wednesday, 1 April 1998 22:37:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:16:52 GMT