Re: Loading a TTF font
Re: Loading a TTF font
- Subject: Re: Loading a TTF font
- From: Aki Inoue <email@hidden>
- Date: Wed, 8 Oct 2003 17:23:37 -0700
John,
The ATS framework, our font management layer, can work with Windows
fonts.
You just have to install them in one of the folders for fonts.
Aki
On 2003/10/08, at 16:03, John Stiles wrote:
I'm working on a program which needs to load a font from a
Windows-origin ".TTF" or ".TTC" font, and turn it into an NSFont that
would be suitable for rendering text as bezier paths (in my case, I
use -NSBezierPath appendBezierPathWithGlyphs:count:inFont:).
Is this easily doable with Cocoa? Or am I looking at a painful process?
If necessary I could preprocess the font to be more Mac-friendly in
some way, but that means wasting a few hundred K of disk space on our
CD for two copies of one font. In the worst case (the Japanese
version), that could mean up to 10MB gone. Not really thrilled about
that option :)
Thanks for any suggestions :)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.