Re: drawGlyphsForGlyphRange
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.