On Thu, Apr 8, 2010 at 4:05 PM, Jerry Krinock <je...@ieee.org> wrote:
> Well, because a couple weeks ago you said that there was a way to do this...

But the plist key you mentioned is documented to activate a font for a
process, thus making it usable in your application. It has nothing to
do with font cascades.

> And I searched far and wide for how to "insert that font into the cascade 
> list", but this was the closest thing I could find.  Do you know how to 
> "insert that font into the cascade list"?

The code Gerriet provided is directly related to what you want to do.
It creates a font descriptor with the appropriate cascade list and
then creates a font from that descriptor. You would then assign that
font to the text view in which you want your special characters to
appear.

Since Core Text is really where this magic happens (Core Text
underlies the Cocoa Text System), you will want to read the Core Text
Programming Guide, specifically the third paragraph of the Fonts
section in the Core Text Overview:
http://developer.apple.com/mac/library/documentation/Carbon/Conceptual/CoreText_Programming/Overview/Overview.html

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to