Help with textmorph

Ken Causey ken at kencausey.com
Fri Feb 20 20:54:37 UTC 2004


Near the bottom of the class comment for TextMorph it notes that a
TextMorph text can only contain a single font.  I think you might have
more luck with PluggableTextMorph.  Alternatively just have a seperate
morph for each font.

Ken

On Fri, 2004-02-20 at 14:42, ducasse wrote:
> hi all
> 
> 
> I would like to have a textMorph (if you have soemthing better please 
> say it)
> that contains different fonts.
> 
> I tried
> TextMorph new openInWorld;  string: 'JJLLJL' fontName: #Atlanta size: 
> 22 wrap: false
> It works. What I do not succeed to do is to add another text with 
> another font.
> 
> I tried
> 	
> 	fontName: #Atlanta size: 18.	
> 	contents: 'stéphane in accuate18'
> 	
> So any help is really appreciated
> 
> Stef
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040220/f1dc7a0a/attachment.pgp


More information about the Squeak-dev mailing list