OSX Problem

Get help with FontCreator here. Please do not post feature requests or bug reports here.
Post Reply
Posts: 1
Joined: Sun Jan 17, 2016 3:20 am

OSX Problem

Post by Fireplayer » Sun Jan 17, 2016 3:54 am

First of all I am a font newbie and and definitely not knowledgeable about font specifics.
I have a True Type font I purchased a while back and it works fine on Windows. I have opened it FontCreator and saved it with no problems.

I have installed it on a Mac and the font installs fine.
When I try to make it bold or italic in an OS X application I am writing, it dos not work. When calling CTFontCreateCopyWithSymbolicTraits with bold or italic, the returned font reference in null. Anybody know what is happening?

Posts: 615
Joined: Mon May 20, 2013 2:51 pm

Re: OSX Problem

Post by MikeW » Sun Jan 17, 2016 7:38 pm

There should have been no reason to modify the font for OSX. It also may not be permitted in the user agreement.

You need to have the distinct styles. So a normal, bold, italic and so on.

Top Typographer
Top Typographer
Posts: 1028
Joined: Thu Apr 18, 2013 8:08 am

Re: OSX Problem

Post by Alfred » Sun Jan 17, 2016 8:48 pm

From this thread on Stack Overflow, it looks as though CTFontCreateCopyWithSymbolicTraits() does exactly what its name suggests: in other words, it creates faux fonts for the bold and italic styles, so no editing of the original font file is needed. I guess it's just a matter of making sure that you get the parameters right, but (as with all faux fonts) the results will generally not be as good as using a separate font file for each of the additional styles.
FC11.5 Pro (Help) + MT8.0 Pro (Help) • Windows 10

Post Reply