You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Chris Lilley <ch...@w3.org> on 2002/10/22 23:21:59 UTC

Bizarre rendering of Arabic (Batik 1.5b4b, Java 1.4.0

Hello batik-users,

  I am confused by the rendering of Arabic scripts in batik. On the
  one hand, Arabic language text is rendered incorrectly (all isolate
  glyphs used). On the other hand, Urdu (which also uses the Arabic
  script) is rendered with contextual forms, ('joined up'
  appearance) (but rendered left-to-right, unfortunately).

  I attach a test file that demonstrates this, plus a rendering from
  Batik and a rendering from notepad ;-)

  Why is contextual shaping ocurring in one case but not in the other?

  If someone can produce a rendering of this in batik 1.5b4b running
  on Java 1.3.x I would appreciate it.

-- 
 Chris                          mailto:chris@w3.org

Re: Bizarre rendering of Arabic (Batik 1.5b4b, Java 1.4.0

Posted by Vincent Hardy <vi...@sun.com>.
Chris,

I'll discuss this with the Java 2D team.
Vincent.

Chris Lilley wrote:
> On Tuesday, October 22, 2002, 11:55:06 PM, Thomas wrote:
> 
> 
>>>>>>>"CL" == Chris Lilley <ch...@w3.org> writes:
>>>>>>
> 
> CL>> Why is contextual shaping ocurring in one case but not in the
> CL>> other?
> 
> TED>> It happens in both cases for me
> 
> CL>> OK so, its a Java 1.4 thing. Are you getting rtl text as well?
> 
> TED>     Yes, didn't you get my attached PNG?
> 
> Yes, but I had not noticed it ... sorry. Yes, your rendering looks
> correct. Its Right to left, has contextual forms, and has the
> mandatory ligatures such as lam-aleef.
> 
> TED>     My Batik rendering looks the same (to my untrained eye) as the
> TED> Note Pad rendering, except it looked better :) (the font is nicer I think).
> 
> The notepad one was rendered in Tahoma, which is a sans-serif. Yours
> is a serif font, so closer to a traditional calligraphic style..
> 
> So, whats up (or changed) in Java 1.4? Clearly Batik should be tested
> against the testsuite with 1.3, anyway.
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Regarding the Batik language code issues

Posted by Vincent Hardy <vi...@sun.com>.
Chris,

Hello Chris,

Thanks for the multiple error reports. I have concatenated your reports 
into a single bug under Bugzilla:

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13870

Note that you can enter bugs in Bugzilla yourself which has the 
advantage that you'll get notified when the issue is resolved (or if the 
status of the report changes).

Regards,
Vincent.



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Bizarre rendering of Arabic (Batik 1.5b4b, Java 1.4.0

Posted by Chris Lilley <ch...@w3.org>.
On Tuesday, October 22, 2002, 11:55:06 PM, Thomas wrote:

>>>>>> "CL" == Chris Lilley <ch...@w3.org> writes:

CL>> Why is contextual shaping ocurring in one case but not in the
CL>> other?

TED>> It happens in both cases for me

CL>> OK so, its a Java 1.4 thing. Are you getting rtl text as well?

TED>     Yes, didn't you get my attached PNG?

Yes, but I had not noticed it ... sorry. Yes, your rendering looks
correct. Its Right to left, has contextual forms, and has the
mandatory ligatures such as lam-aleef.

TED>     My Batik rendering looks the same (to my untrained eye) as the
TED> Note Pad rendering, except it looked better :) (the font is nicer I think).

The notepad one was rendered in Tahoma, which is a sans-serif. Yours
is a serif font, so closer to a traditional calligraphic style..

So, whats up (or changed) in Java 1.4? Clearly Batik should be tested
against the testsuite with 1.3, anyway.

-- 
 Chris                            mailto:chris@w3.org


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Bizarre rendering of Arabic (Batik 1.5b4b, Java 1.4.0

Posted by Thomas E Deweese <th...@kodak.com>.
>>>>> "CL" == Chris Lilley <ch...@w3.org> writes:

CL> Why is contextual shaping ocurring in one case but not in the
CL> other?

TED> It happens in both cases for me

CL> OK so, its a Java 1.4 thing. Are you getting rtl text as well?

    Yes, didn't you get my attached PNG? 

    My Batik rendering looks the same (to my untrained eye) as the
Note Pad rendering, except it looked better :) (the font is nicer I think).


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Bizarre rendering of Arabic (Batik 1.5b4b, Java 1.4.0

Posted by Chris Lilley <ch...@w3.org>.
On Tuesday, October 22, 2002, 11:31:26 PM, Thomas wrote:

>>>>>> "CL" == Chris Lilley <ch...@w3.org> writes:

CL>>   I am confused by the rendering of Arabic scripts in batik. On
CL>> the one hand, Arabic language text is rendered incorrectly (all
CL>> isolate glyphs used). On the other hand, Urdu (which also uses the
CL>> Arabic script) is rendered with contextual forms, ('joined up'
CL>> appearance) (but rendered left-to-right, unfortunately).

CL>>   I attach a test file that demonstrates this, plus a rendering
CL>> from Batik and a rendering from notepad ;-)

I got a bounce from that, did people get the attachments?

CL>>   Why is contextual shaping ocurring in one case but not in the
CL>> other?

TED>     It happens in both cases for me

OK so, its a Java 1.4 thing. Are you getting rtl text as well?

CL>>   If someone can produce a rendering of this in batik 1.5b4b
CL>> running on Java 1.3.x I would appreciate it.

TED>     Hmm Everything seems to work for me (I am using Java 1.3.x):

Aha.




-- 
 Chris                            mailto:chris@w3.org


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


RE: Bizarre rendering of Arabic (Batik 1.5b4b, Java 1.4.0

Posted by Thomas E Deweese <th...@kodak.com>.
>>>>> "CL" == Chris Lilley <ch...@w3.org> writes:

CL>   I am confused by the rendering of Arabic scripts in batik. On
CL> the one hand, Arabic language text is rendered incorrectly (all
CL> isolate glyphs used). On the other hand, Urdu (which also uses the
CL> Arabic script) is rendered with contextual forms, ('joined up'
CL> appearance) (but rendered left-to-right, unfortunately).

CL>   I attach a test file that demonstrates this, plus a rendering
CL> from Batik and a rendering from notepad ;-)

CL>   Why is contextual shaping ocurring in one case but not in the
CL> other?

    It happens in both cases for me

CL>   If someone can produce a rendering of this in batik 1.5b4b
CL> running on Java 1.3.x I would appreciate it.

    Hmm Everything seems to work for me (I am using Java 1.3.x):