• 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: drawGlyphsForGlyphRange
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: drawGlyphsForGlyphRange


  • Subject: Re: drawGlyphsForGlyphRange
  • From: Aki Inoue <email@hidden>
  • Date: Mon, 30 Sep 2002 15:47:00 -0700

If Hebrew text is displayed "left-to-right" on Jaguar, that most likely means your app is using NSTypesetterOriginalBehavior.

We introduce the concept of "typesetter behavior" in Jaguar to provide better backward compatibility support in terms of text layout.

The right-to-left layout is only supported with NSTypesetterBehavior_10_2_WithCompatibility beyond.

Apps built on pre-Jaguar systems uses NSTypesetterOriginalBehavior by default.

You can check the behavior you're using by -[NSLayoutManager typesetterBehavior].

For more info, please refer to the AppKit release note file://localhost/Developer/Documentation/ReleaseNotes/AppKit.html.

Aki

On 2002.9.30, at 03:21 PM, Douglas Davidson wrote:

On Monday, September 30, 2002, at 02:54 PM, Steve Gehrman wrote:

I'm doing my own text drawing by calling NSLayoutManger
drawGlyphsForGlyphRange.

I have had some reports from users that "right to left" text is drawing
"left to right". Is there something I have to do to handle right to
left text like Hebrew?

That's not enough information to really evaluate the problem. The CircleView example does its own text drawing using NSLayoutManager, and it handles right-to-left text reasonably well, at least on Jaguar. The text system did not support right-to-left text before Jaguar.

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.
_______________________________________________
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.

References: 
 >Re: drawGlyphsForGlyphRange (From: Douglas Davidson <email@hidden>)

  • Prev by Date: Re: drawGlyphsForGlyphRange
  • Next by Date: Wishing for NSActionImageCell
  • Previous by thread: Re: drawGlyphsForGlyphRange
  • Next by thread: Wishing for NSActionImageCell
  • Index(es):
    • Date
    • Thread