Re: NSTypesetter and smart quotes
Re: NSTypesetter and smart quotes
- Subject: Re: NSTypesetter and smart quotes
- From: Aki Inoue <email@hidden>
- Date: Fri, 30 Jan 2004 10:56:26 -0800
Jeremy,
NSATSTypesetter, the default concrete NSTypesetter subclass, is relying
on Apple Advanced Typography technology for typographic functionalities
including smart quotes. The model of AAT is a functionality is
enabled only when the rendering font supports such feature. For
example, Skia supports smart quote by Lucida Grande doesn't.
Aki
On 2004/01/30, at 6:58, Jeremy Dronfield wrote:
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.
_______________________________________________
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.