[self-interest] font problems (was: using Self)

David Ungar David.Ungar at Eng.Sun.COM
Fri Apr 7 18:33:42 UTC 2000


Jecel,

Thanks.
I'll check it out in a few days.

- Dave



>Dave,
>
>>  Thanks for helping everyone out on this list.
>
>Since I created it, I feel a bit responsible for it :-)
>
>>  I will try to reproduce the problem if you tell me what you did.
>>  It might have an easy fix.
>
>I just downloaded Self 4.1.2 for Macintosh and double-clicked on the Demo.snap
>icon. Calling up any outliner and clicking on the "=" button for a method
>brings up an editor for the source. The problem is that the editor is always
>too narrow and only shows the left half of the code (doing the exact 
>same thing
>for Self 4.1.2 on my Sun Ultra 5 brings up an editor that is the 
>same size, but
>shows the whole text as the characters aren't as wide). Same thing if you try
>to look at the comments.
>
>I am guessing that Self had to replace the font (which might not ever happen
>on your machine if you have all the right fonts) but is using the original
>font's metrics for some reason. Hmmm... it seems that the 
>'resizeToText' method
>in traits uglyTextEditorMorph assumes that the font used is a fixed 13x6 one
>(which is the case for the one in the ui2_textField prototype - at 
>least on the
>Sun). Strange... I would have thought this would be set in outlinerPreferences
>or something similar.
>
>This is just a minor inconvenience, not a major bug. Since nobody else
>mentioned it, I suppose it could be specific to my mother's iMac.
>
>-- Jecel
>
>------------------------------------------------------------------------
>Special Offer-Earn 300 Points from MyPoints.com for trying @Backup
>Get automatic protection and access to your important computer files.
>Install today:
>http://click.egroups.com/1/2344/7/_/8257/_/955057504/
>------------------------------------------------------------------------

-- 


     David Ungar
     Sun Microsystems Laboratories
     (650) 336-2618



More information about the Self-interest mailing list