Re: Arabic in Cocoa. Any Experiences (also Panther)?
Re: Arabic in Cocoa. Any Experiences (also Panther)?
- Subject: Re: Arabic in Cocoa. Any Experiences (also Panther)?
- From: Douglas Davidson <email@hidden>
- Date: Mon, 25 Aug 2003 11:07:37 -0700
On Monday, August 25, 2003, at 10:38 AM, Greg Titus wrote:
I don't actually know Arabic, or any other right-to-left language, but
it _appears_ to work just great if you just use the built-in
NSTextView class. Try switching to an Arabic or Hebrew input method
and typing in TextEdit, for instance.
We support bidi text In OmniGraffle -- you can use the text tool with
the Arabic input method and type right-to-left onto the canvas. All we
had to do was use an NSTextView for input, and customize our routines
for growing the text as you type so that it checks the NSLayoutManager
for its "NSGlyphAttributeBidiLevel" in order to grow in the right
direction. If you have fixed size text areas, you wouldn't have to do
anything special at all.
The basic functionality is present, but an Arabic or Hebrew user would
encounter some glitches, especially in the areas of selection and
cursor movement. We are working on these issues.
Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.