On 7 Apr '08, at 5:52 PM, Brad Peterson wrote:

Just embed it as a resource, and then use the code below to load it for use.

This seems less efficient (and more complicated) than either of the two earlier solutions. Loading the font into memory first means it takes up heap space, which is private and has to be allocated out of swap, rather than allowing the file to be memory-mapped. Better just to point ATS at the file. And you can't get much simpler than just pointing your Info.plist at a directory full of fonts.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to