Displaying Fonts in SQUEAK

viv shankar viv_mbbs at yahoo.co.in
Wed May 31 11:02:05 UTC 2006

I am sorry...I forgot to give my code..This is my code..
 TTCFontReader encodingTag: Latin1Environment leadingChar.
      TTCFontSet newTextStyleFromTTFile: 'C:\WINDOWS\Fonts\L_10646.ttf'.
      "Lucida Sans Unicode Font (installed on every Windows since 1998).
       Please check:
       The font file name might be different though - I am on Windows XP"

s _ StringMorph new contents: (
                                340 asCharacter asString,
                                946 asCharacter asString,
                                947 asCharacter asString).
                                "Greek alpha, beta, gamma"

s  fontName: 'MultiLucidaSansUnicode' size: 90.

s openInWorld

  Yahoo! India Answers: Share what you know. Learn something new Click here
 Send free SMS to your Friends on Mobile from your Yahoo! Messenger Download now
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20060531/757c856c/attachment.htm

More information about the Squeak-dev mailing list