Displaying Fonts in SQUEAK

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

Displaying Fonts in SQUEAK

viv shankar
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