> On Aug 9, 2014, at 2:55 PM, Raglan T. Tiger <r...@crusaderrabbit.net> wrote:
> 
> I would like to get bezier outlines of true type fonts …

Specifically only TrueType fonts? What about OpenType or PostScript fonts?

I think your best bet is NSBezierPath, which has methods
- (void)appendBezierPathWithGlyph:(NSGlyph)glyph inFont:(NSFont *)font;
- (void)appendBezierPathWithGlyphs:(NSGlyph *)glyphs count:(NSInteger)count
                            inFont:(NSFont *)font;

Just be aware of the licensing restrictions of the fonts. Obviously you have 
the right to render text with any font legally installed on your computer, but 
things get iffier when you start manipulating the glyph outlines directly. At 
some point it becomes creating a "derivative work", which most licenses don't 
allow. (Nor can you take those outlines to another computer and use them there, 
unless that font is also licensed for that computer.)

(Sorry to sound pedantic, but I used to work in typography, and I've found that 
a lot of people don't understand that fonts are creative works that people make 
their livelihood on, just like images or music.)

—Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to