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@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners