• 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
NSTypesetter and smart quotes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTypesetter and smart quotes


  • Subject: NSTypesetter and smart quotes
  • From: Jeremy Dronfield <email@hidden>
  • Date: Fri, 30 Jan 2004 12:04:20 +0000

According to release notes relating to 10.2, NSTypesetter "utilizes the Apple Type Service for Unicode Imaging functionality extensively, providing applications with advanced typography features such as smart-quoting". How can these features be accessed? I particularly want to have smart-quoting in an NSTextView. I've tried:

[[textView layoutManager] setTypesetterBehavior:NSTypesetterBehavior_10_3];

but it has no effect. (Presumably because all text views created under 10.3 will already be using the latest typesetter behaviour?) I've looked at the documentation for NSATSTypesetter and text layout, but found no clues there. Where are the smart quotes? Do I need to use Carbon kSmartQuotesOnSelector, and if so how do I do it? (The release notes mention that AppKit is disabling kSmartQuotesOffSelector so it doesn't seem like a good idea to go there.)

Any guidance would be appreciated.
-Jeremy

========================================
email@hidden

theLocustFarm.net:
- fractious fiction at http://freespace.virgin.net/jeremy.dronfield
========================================
_______________________________________________
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: NSTypesetter and smart quotes
      • From: Jeremy Dronfield <email@hidden>
  • Prev by Date: Re: I need help with "Preferences" routines.
  • Next by Date: Objective C language [NEWBEE QUESTIONS]
  • Previous by thread: Re: Playing sound effect in thread
  • Next by thread: Re: NSTypesetter and smart quotes
  • Index(es):
    • Date
    • Thread