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

Re: NSTypesetter and smart quotes


  • Subject: Re: NSTypesetter and smart quotes
  • From: Jeremy Dronfield <email@hidden>
  • Date: Fri, 30 Jan 2004 14:58:06 +0000

On 30 Jan 2004, at 12:04 pm, Jeremy Dronfield wrote:

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.

Since posting the above, I've come across this article:

http://www.stone.com/The_Cocoa_Files/Smart_Quotes.html

which shows how to use the NSTextView delegate method -textView:shouldChangeTextInRange:replacementString: to implement smart-quoting behaviour. It works well. However, the article is over 2 years old and designed for 10.1 (or 10.0?). So I would still be interested in any pointers towards a way of getting smart quotes automagically from the Cocoa text architecture under Panther/Jaguar.

Does anybody know if this functionality is available?

-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: Douglas Davidson <email@hidden>
    • Re: NSTypesetter and smart quotes
      • From: Aki Inoue <email@hidden>
References: 
 >NSTypesetter and smart quotes (From: Jeremy Dronfield <email@hidden>)

  • Prev by Date: Programatically create SMALL NSCircularBezelStyle NSButtonCell
  • Next by Date: Re: OK to use setCharactersToBeSkipped:nil ?
  • Previous by thread: NSTypesetter and smart quotes
  • Next by thread: Re: NSTypesetter and smart quotes
  • Index(es):
    • Date
    • Thread