[BUG][FIX]StrikeFontSet>>maxWidth - array out of bounds

Hannes Hirzel hirzel at spw.unizh.ch
Mon Dec 20 20:11:52 UTC 2004


Trygve Reenskaug wrote:

> I got trouble when loading Connectors 1.9. It stopped because a 
> fontArray contained a single font.
> 
> Image:  Squeak3.8g-6527
> method StrikeFontSet>>maxWidth
> 
> The code could read:
>    StrikeFontSet>>maxWidth
>         ^ (fontArray at: (2 min: fontArray size)) maxWidth.
> 
>  comment 1: For some reason, the method always looked at (fontarry at: 
> 2). (Why not at: 7 ?? or 1 ???)
>  comment 2: I tried reporting this on BFAV, but couldn't make it work. I 
> tried following this quote:
> 
> "As Ken's said, you can do that neatly if you install BFAV. Then you can 
> make
> a new changeset, move your changes & fix into that changeset, and just 
> right
> click the changeset to get a DecentReviewerNotePad dialog, which makes
> sending to the list a breeze."
> 
> When I installed BFAV, it loaded some stuff forever. I aborted it when 
> it had loaded about 3000.
> I assumed that the above related to the dual change sorter,
> but I couldn't find a 'DecentReviewerNotePad' command anywhere.
> I gave up, it shouldn't be a research project to use a released program 
> product.
> 
> --Trygve
> 
> 

This is addressed in
the two mails by Thomas A Petersen

http://lists.squeakfoundation.org/pipermail/squeak-dev/2004-December/085834.html
http://lists.squeakfoundation.org/pipermail/squeak-dev/2004-December/086526.html

But in fact we would like to have this fix already in the 3.8gamma base 
image.

I didn't check if the bug is already listed in the mantis bug reporting 
system http://bugs.impara.de/login_page.php  (very easy to sign up and use).


Hannes




More information about the Squeak-dev mailing list