Ok, I see. The string is truncated. Almost certainly this is due to the widthOfString... method. You could try the most recent incarnation of this method, which I have attached. This is a tricky one to get right, so there are no guarantees that it is now correct. But give it a go, it may improve things, even if it doesn't fix it completely. Cheers, Andy.
From: gazzaguru2@btinternet.comTo: ui@lists.squeakfoundation.orgSubject: RE: [UI] UI (was RE: A couple of simpleergonomicadjustmentsonsqueak-dev)Date: Thu, 23 Aug 2007 19:56:18 +0100
Look at the "HSV color selector" label for an idea:
-----Original Message-----From: ui-bounces@lists.squeakfoundation.org [mailto:ui-bounces@lists.squeakfoundation.org] On Behalf Of Gary ChambersSent: 23 August 2007 7:48 pmTo: 'Squeak's User Interface'Subject: RE: [UI] UI (was RE: A couple of simpleergonomicadjustmentsonsqueak-dev) Probably a problem with the #widthOfString:... method.
-----Original Message-----From: ui-bounces@lists.squeakfoundation.org [mailto:ui-bounces@lists.squeakfoundation.org] On Behalf Of Andrew TweenSent: 23 August 2007 7:29 pmTo: Squeak's User InterfaceSubject: RE: [UI] UI (was RE: A couple of simple ergonomicadjustmentsonsqueak-dev)I have attached 2 pngs, one with 356 and the other with 355.With the list font as Arial 10pt, you should see something similar. Perhaps I have misunderstood the problem? Are you getting truncated characters with the right hand side missing? Or something else? Could you post a screen capture to illustrate the problem? I may have another fix for whatever is happening. Cheers,Andy
From: gazzaguru2@btinternet.comTo: ui@lists.squeakfoundation.orgSubject: RE: [UI] UI (was RE: A couple of simple ergonomic adjustmentsonsqueak-dev)Date: Thu, 23 Aug 2007 19:15:18 +0100
356 looks much the same for me. I have modified StringMorph etc (for the new look, as "fixes") to set the bounds, when shrink wrapped to the minimum extent reported by the font. Perhaps that calculation is a bit off. Just a thought...
-----Original Message-----From: ui-bounces@lists.squeakfoundation.org [mailto:ui-bounces@lists.squeakfoundation.org] On Behalf Of Andrew TweenSent: 23 August 2007 7:00 pmTo: Squeak's User InterfaceSubject: RE: [UI] UI (was RE: A couple of simple ergonomic adjustmentsonsqueak-dev)The kerning in the last released version should be ok in HintingNone mode; but it is incorrect in HintingLight mode.I fixed this in FreeType-tween.356.mcz which you can get from SqueakSource. After loading, switch to HintingLight mode in the Preference browser. (If you already have HintingLight selected, then switch to HintingNone, and then back to HintingLight - this will clear any caches). Cheers,Andy
From: gazzaguru2@btinternet.comTo: ui@lists.squeakfoundation.orgSubject: RE: [UI] UI (was RE: A couple of simple ergonomic adjustments onsqueak-dev)Date: Thu, 23 Aug 2007 18:18:45 +0100
Me too! Would be nice to get the kerning sorted, though doubtless would be harder work! ('r's at the end seemd particularly prone).
TC.
-----Original Message-----From: ui-bounces@lists.squeakfoundation.org [mailto:ui-bounces@lists.squeakfoundation.org] On Behalf Of Andrew TweenSent: 23 August 2007 6:05 pmTo: Squeak's User InterfaceSubject: RE: [UI] UI (was RE: A couple of simple ergonomic adjustments onsqueak-dev)Thanks Gary.This is really excellent. I can't wait. Cheers,Andy
From: gazzaguru2@btinternet.com> To: ui@lists.squeakfoundation.org> Date: Thu, 23 Aug 2007 15:08:54 +0100> Subject: [UI] UI (was RE: A couple of simple ergonomic adjustments on squeak-dev)> > Just an update... Although business work is busy I am managing to get closer> to a release :-)> > I'll be asking some questions next week as to how people want to see things> packaged up and hosted.> > In the mean time, some extra screenshots with code examples...> > http://flickr.com/photos/65338133@N00/1213406097/%3E http://flickr.com/photos/65338133@N00/1214268406/%3E http://flickr.com/photos/65338133@N00/1213402171/%3E http://flickr.com/photos/65338133@N00/1213400147/%3E > Gary at pinesoft.co.uk.> > _______________________________________________> UI mailing list> UI@lists.squeakfoundation.org> http://lists.squeakfoundation.org/mailman/listinfo/ui
Play Movie Mash-up and win BIG prizes!
The future of MSN Messenger! Windows Live Messenger
Are you the Quizmaster? Play BrainBattle with a friend now! _________________________________________________________________ 100’s of Music vouchers to be won with MSN Music https://www.musicmashup.co.uk/index.html
Result. That did the trick. Thanks. Hadn't noticed I was that far behind. Guess a release thing (hang on loading 404 from 355, may be a problem with MC 1.5 though (have tried to keep up with kph's changes).
-----Original Message----- From: ui-bounces@lists.squeakfoundation.org [mailto:ui-bounces@lists.squeakfoundation.org] On Behalf Of Andrew Tween Sent: 23 August 2007 8:15 pm To: Squeak's User Interface Subject: RE: [UI] UI (was RE: A couple ofsimpleergonomicadjustmentsonsqueak-dev)
Ok, I see. The string is truncated. Almost certainly this is due to the widthOfString... method. You could try the most recent incarnation of this method, which I have attached. This is a tricky one to get right, so there are no guarantees that it is now correct. But give it a go, it may improve things, even if it doesn't fix it completely. Cheers, Andy .
_____
From: gazzaguru2@btinternet.com To: ui@lists.squeakfoundation.org Subject: RE: [UI] UI (was RE: A couple of simpleergonomicadjustmentsonsqueak-dev) Date: Thu, 23 Aug 2007 19:56:18 +0100
Look at the "HSV color selector" label for an idea:
http://flickr.com/photos/65338133@N00/1214268406/
-----Original Message----- From: ui-bounces@lists.squeakfoundation.org [mailto:ui-bounces@lists.squeakfoundation.org] On Behalf Of Gary Chambers Sent: 23 August 2007 7:48 pm To: 'Squeak's User Interface' Subject: RE: [UI] UI (was RE: A couple of simpleergonomicadjustmentsonsqueak-dev)
Probably a problem with the #widthOfString:... method.
-----Original Message----- From: ui-bounces@lists.squeakfoundation.org [mailto:ui-bounces@lists.squeakfoundation.org] On Behalf Of Andrew Tween Sent: 23 August 2007 7:29 pm To: Squeak's User Interface Subject: RE: [UI] UI (was RE: A couple of simple ergonomicadjustmentsonsqueak-dev)
I have attached 2 pngs, one with 356 and the other with 355. With the list font as Arial 10pt, you should see something similar.
Perhaps I have misunderstood the problem? Are you getting truncated characters with the right hand side missing? Or something else? Could you post a screen capture to illustrate the problem? I may have another fix for whatever is happening.
Cheers, Andy
_____
From: gazzaguru2@btinternet.com To: ui@lists.squeakfoundation.org Subject: RE: [UI] UI (was RE: A couple of simple ergonomic adjustmentsonsqueak-dev) Date: Thu, 23 Aug 2007 19:15:18 +0100
356 looks much the same for me. I have modified StringMorph etc (for the new look, as "fixes") to set the bounds, when shrink wrapped to the minimum extent reported by the font. Perhaps that calculation is a bit off. Just a thought...
-----Original Message----- From: ui-bounces@lists.squeakfoundation.org [mailto:ui-bounces@lists.squeakfoundation.org] On Behalf Of Andrew Tween Sent: 23 August 2007 7:00 pm To: Squeak's User Interface Subject: RE: [UI] UI (was RE: A couple of simple ergonomic adjustmentsonsqueak-dev)
The kerning in the last released version should be ok in HintingNone mode; but it is incorrect in HintingLight mode. I fixed this in http://www.squeaksource.com/FreeTypePlus/FreeType-tween.356.mcz FreeType-tween.356.mcz which you can get from SqueakSource.
After loading, switch to HintingLight mode in the Preference browser. (If you already have HintingLight selected, then switch to HintingNone, and then back to HintingLight - this will clear any caches).
Cheers, Andy
_____
From: gazzaguru2@btinternet.com To: ui@lists.squeakfoundation.org Subject: RE: [UI] UI (was RE: A couple of simple ergonomic adjustments onsqueak-dev) Date: Thu, 23 Aug 2007 18:18:45 +0100
Me too! Would be nice to get the kerning sorted, though doubtless would be harder work! ('r's at the end seemd particularly prone).
TC.
-----Original Message----- From: ui-bounces@lists.squeakfoundation.org [mailto:ui-bounces@lists.squeakfoundation.org] On Behalf Of Andrew Tween Sent: 23 August 2007 6:05 pm To: Squeak's User Interface Subject: RE: [UI] UI (was RE: A couple of simple ergonomic adjustments onsqueak-dev)
Thanks Gary. This is really excellent. I can't wait. Cheers, Andy
_____
From: gazzaguru2@btinternet.com To: ui@lists.squeakfoundation.org Date: Thu, 23 Aug 2007 15:08:54 +0100 Subject: [UI] UI (was RE: A couple of simple ergonomic adjustments on
squeak-dev)
Just an update... Although business work is busy I am managing to get
closer
to a release :-)
I'll be asking some questions next week as to how people want to see
things
packaged up and hosted.
In the mean time, some extra screenshots with code examples...
http://flickr.com/photos/65338133@N00/1213406097/ http://flickr.com/photos/65338133@N00/1214268406/ http://flickr.com/photos/65338133@N00/1213402171/ http://flickr.com/photos/65338133@N00/1213400147/
Gary at pinesoft.co.uk.
UI mailing list UI@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/ui
_____
Play Movie Mash-up and win BIG prizes! https://www.moviemashup.co.uk/
_____
The future of MSN Messenger! Windows Live Messenger http://imagine-msn.com/messenger/launch/en-GB/
_____
Are you the Quizmaster? Play BrainBattle with a friend now! http://specials.uk.msn.com/brainbattle
_____
The next generation of MSN Hotmail has arrived - Windows Live Hotmail http://www.newhotmail.co.uk