• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Arabic in Cocoa. Any Experiences (also Panther)?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Arabic in Cocoa. Any Experiences (also Panther)?


  • Subject: Re: Arabic in Cocoa. Any Experiences (also Panther)?
  • From: Greg Titus <email@hidden>
  • Date: Mon, 25 Aug 2003 10:38:21 -0700

On Monday, August 25, 2003, at 08:02 AM, Bernd Carl wrote:

Hi folks,
I4m thinking about developing some kind of arabic learning thing for X, but it4s kind of hard to find any good sources about developing arabic software. Maybe it4s not that bad after all but I hate the idea to start something and then give up due to too much disappointment :-)
It seems KDE/qt is a good platform for bidirectional things but my first choice would be my OS X. So my question is if anybody has any good experiences with the cocoa framework or is it all done by hand (the bidi support). What about Panther, is it to be more supportable of such things. It doesn4t matter to me if I need to wait for the update.
Thanks, Bernd.

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.

Hope this helps,
- Greg
_______________________________________________
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.

  • Follow-Ups:
    • Re: Arabic in Cocoa. Any Experiences (also Panther)?
      • From: Douglas Davidson <email@hidden>
References: 
 >Arabic in Cocoa. Any Experiences (also Panther)? (From: Bernd Carl <email@hidden>)

  • Prev by Date: Re: NSString -> char* ? Use -[NSString UTF8String].
  • Next by Date: Re: Arabic in Cocoa. Any Experiences (also Panther)?
  • Previous by thread: Arabic in Cocoa. Any Experiences (also Panther)?
  • Next by thread: Re: Arabic in Cocoa. Any Experiences (also Panther)?
  • Index(es):
    • Date
    • Thread