squeak - How do I make really large text in Smalltalk? -


i'm trying make large text banner in squeak smalltalk, following code:

t := textmorph new. t string: 'you win!' fontname: 'bitstreamverasans' size: 400. t extent: 600@100. t center: display center. t openinworld. 

but text size seems max out @ 60. using wrong class? don't need text editable.

two ways:

  1. add font size: (textstyle named: #bitstreamverasans) addnewfontsize: 200 , use regular text morph before.

  2. use "truetype banner" can arbitrarily scaled: either 1 object catalog, or use ttsamplestringmorph new initializetostandalone openinhand. initializetostandalone method make own.

for large heading use


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -