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?
-- View this message in context: http://forum.world.st/Do-Mac-ttf-parser-is-different-with-Windows-tp3386583p... Sent from the Squeak - Beginners mailing list archive at Nabble.com.
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@lists.squeakfoundation.org