[Squeakland] Problems loading old projects

Scott Wallace scott.wallace at squeakland.org
Sat Oct 28 03:06:52 PDT 2006


Hi, Karl,

Hmm...  this was an issue that we *thought* we had completely dealt  
with two years ago.

It would be helpful to know whether, when you are loading the old  
project, you do or do not see a jumpy little yellow message box which  
says "Fixing fonts".  That message indicates that the exact problem  
you describe is (theoretically) being dealt with, viz., that all the  
Scriptors in the project are undergoing fresh layout after a font  
change forced by the fact that fonts expected by the project are not  
present in the image.

Perhaps you could email me a copy of such a project (with  
instructions on how you worked around the encoding issue, if  
applicable) so that we could experience the problem first-hand.   
Perhaps the problematical projects are *very* old?  In any case, it  
would be useful to help track down how our font-fixup attempts are  
failing.

Anyway, as a practical matter, I think that if you've loaded a  
project and find that the scriptor layouts are screwed up, evaluating  
the following in a Workspace will probably make them all come  
right... it's worth a try anyway:

(ScriptEditorMorph allInstances select: [:m | m == m topEditor]) do:  
[:m | m fixLayout].


Cheers,

  -- Scott



On Oct 27, 2006, at 6:20 AM, Karl wrote:

> I have run across a few issues loading some old projects. The project
> loading had problems with the encoding, that was quite easy to fix.  
> But
> and other issue is that the font's in the image have changed since the
> project were made. Upon loading the font's are replaced by the images
> default eToy font and that screws up the layout of all scripts. Is  
> there
> a way to relayout all the scripts or
> do I have to do this manually by making new scripts ?
> Karl
> _______________________________________________
> Squeakland mailing list
> Squeakland at squeakland.org
> http://squeakland.org/mailman/listinfo/squeakland



More information about the Squeakland mailing list