Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

WhiteRabbit

macrumors newbie
Original poster
Jan 11, 2005
26
0
Does anyone know about using custom fonts in Cocoa? I have a font I'd like to use in my application, and it works because I have the font installed, but I can't expect to have it available. I need to package it with the application, and somehow load it from the file.

However, NSFont documentation doesn't list any methods I might expect like fontFromURL or similar. Has anyone done anything like this?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.