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

Re: Japanese vertical text


  • Subject: Re: Japanese vertical text
  • From: Douglas Davidson <email@hidden>
  • Date: Mon, 18 Feb 2002 16:39:58 -0800

On Monday, February 18, 2002, at 04:17 PM, Bruno Blondeau wrote:

I'd like to draw text vertically for Japanese users. How can I do this?

I have heard that no application that ship with MacOS X is able to do this.
However, I guess Cocoa is easily able to handle this, but didn't found
anything really helpful.

The Cocoa text system does not currently support vertical text. The limitation is primarily in NSTypesetter, secondarily in certain methods of NSTextView and NSLayoutManager; for example, the current standard concrete NSTypesetter subclass is NSSimpleHorizontalTypesetter, which as the name suggests does not perform vertical layout. The APIs are all designed to support either horizontal or vertical text, but the necessary layout simply is not yet implemented. As a result, the current situation is that you can draw the glyphs, provided that you determine for yourself where they should go. In addition, for any characters that should be represented by different glyphs in vertical as opposed to horizontal layout, you would need to make those modifications yourself.

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.

References: 
 >Japanese vertical text (From: Bruno Blondeau <email@hidden>)

  • Prev by Date: NSThread does not respond the the 'exit' message
  • Next by Date: PB Doesn't starts!
  • Previous by thread: Japanese vertical text
  • Next by thread: Re: NSToolbar question
  • Index(es):
    • Date
    • Thread