Monthly Archives February 2009

Reading a font from file and making it available to Cocoa

This is another programming related post.
Say you have a true type font that’s not part of the OS font set in a file. You’ve read the contents of the file into memory and now want to make it available to Cocoa. How?