Re: Vertical Asian Text in Cocoa
Re: Vertical Asian Text in Cocoa
- Subject: Re: Vertical Asian Text in Cocoa
- From: Lee Ann Rucker <email@hidden>
- Date: Wed, 22 Dec 2010 13:38:46 -0800
- Acceptlanguage: en-US
- Thread-topic: Vertical Asian Text in Cocoa
On Dec 22, 2010, at 5:46 AM, John Joyce wrote:
>
> On Dec 21, 2010, at 4:44 PM, Abdul Sowayan wrote:
>
>> Hi folks,
>>
>> As I understood it several years ago, there was no native support in Cocoa
>> for rendering vertical Japanese text. Note that certain punctuation and
>> compound characters are supposed to render differently when drawing in the
>> vertical orientation than they normally would when drawing left-to-right
>> (which is how the font normally specifies how the character is rendered)…
>> Has anything changed on this front? Is there any support in Quartz for
>> this?
>>
>> Any feedback would be greatly appreciated.
>>
>> Thanks,
>> Abdul
>>
> Hi Abdul
> It is not about native support, the text system itself allows you to build it, but it is just that you have to build your own layout manager and such.
> The glyphs all exist in most good fonts, but you'll have to build your own text layout rules, including swapping the appropriate vertical glyphs (not many). I've been looking at it myself. Not simple, but possible.
I did this in Java a long time ago: http://oreilly.com/pub/a/mac/2002/03/22/vertical_text.html
It handles layout for punctuation and half-height characters._______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden