NSFont load font from file

Discussion in 'Mac Programming' started by WhiteRabbit, Mar 2, 2009.

  1. macrumors newbie

    Joined:
    Jan 11, 2005
    #1
    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?
     
  2. Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
  3. thread starter macrumors newbie

    Joined:
    Jan 11, 2005

Share This Page