Do Mac ttf parser is different with Windows?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Do Mac ttf parser is different with Windows?

InsigmaHT
I just tried to import the TTF file into Squeak 4.1,

in windows, it succeed, but in Mac, it failed, with cmap nil error

I use the command: TTCFontSet newTextStyleFromTTFile: fontFile.

Do any one have experience on this part?

Also where could I go to change the color of font from code perspective?
Reply | Threaded
Open this post in threaded view
|

Re: Do Mac ttf parser is different with Windows?

dcorking
 InsigmaHT,

I can offer a possible answer to your second question (I don't know
the answer to your first).

On Fri, Mar 18, 2011 at 8:31 AM,  you wrote:

> Also where could I go to change the color of font from code perspective?

I don't think a font has a color.

If you just want to change the color of a displayed string, it might
be enough to change the color of the StringMorph, such as:
self color: Color orange.

Hope that helps.
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners