|
Re: how to get form with font: msg#00068lang.smalltalk.squeak.beginners
Thanks. That works--almost. If I do: myForm := (Text string: 'Hello World' attribute: (TextFontReference toFont: ((TextStyle named: 'Accumon') fontOfPointSize: 12))) asParagraph asForm. myForm display. The result is an all black rectangle in the upper left corner. But if I do: myForm bitEdit. Then I see the bitmap that I expect. Is it a Morphic-MVC thing? Thanks, Don Bert Freudenberg wrote: > > On Oct 22, 2007, at 19:22 , Don McLane wrote: > >> >> This is probably easy, but I can't seem to figure it out. How can I get >> a Form that has a font bitmap--preferably big and monospaced? I just >> want to demonstrate some elementary BitBlt operations. > > (Text string: 'Hello World' attribute: (TextFontReference toFont: > ((TextStyle named: 'Accumon') fontOfPointSize: 12))) asParagraph asForm > > - Bert - > > > _______________________________________________ > Beginners mailing list > Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx > http://lists.squeakfoundation.org/mailman/listinfo/beginners
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: how to get form with font, Bert Freudenberg |
|---|---|
| Next by Date: | Re: Delete translations, stephane ducasse |
| Previous by Thread: | Re: how to get form with font, Bert Freudenberg |
| Next by Thread: | Re: A question of Squeak, luisalejan1308 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |