• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: True Type Fonts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: True Type Fonts


  • Subject: Re: True Type Fonts
  • From: Jens Alfke <email@hidden>
  • Date: Sat, 09 Aug 2014 16:14:16 -0700

> On Aug 9, 2014, at 2:55 PM, Raglan T. Tiger <email@hidden> 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 (email@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: True Type Fonts
      • From: Kyle Sluder <email@hidden>
References: 
 >True Type Fonts (From: "Raglan T. Tiger" <email@hidden>)
 >Re: True Type Fonts (From: Gerd Knops <email@hidden>)
 >Re: True Type Fonts (From: "Raglan T. Tiger" <email@hidden>)

  • Prev by Date: Re: True Type Fonts
  • Next by Date: Re: True Type Fonts
  • Previous by thread: Re: True Type Fonts
  • Next by thread: Re: True Type Fonts
  • Index(es):
    • Date
    • Thread