Re: Cocoa font question
Re: Cocoa font question
- Subject: Re: Cocoa font question
- From: Shaun Wexler <email@hidden>
- Date: Wed, 20 Oct 2004 11:10:18 -0700
On Oct 19, 2004, at 9:54 AM, Peter Karlsson wrote:
Dear list!
Is it possible to use a font in a Cocoa app that is not istalled on the
system? Let me explain...
I want to create a LCD display in my app, so I need som sort of LCD
font (I
am open for suggestions) but I want it to only be a part of my app so
no
other app can use it.
Yes you can. Refer to the (Carbon/Classic) Font Manager documentation.
You will need to get the path to the font file in your bundle
resources, then create a FSRef -> FSSpec to pass to the FM functions.
STFA here and you'll find a bit of code that I previously posted which
shows you how to do this. :)
--
Shaun Wexler
MacFOH
http://www.macfoh.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden