[squeak-dev] Re: Text truncation in trunk

Andreas Raab andreas.raab at gmx.de
Wed Sep 23 02:52:34 UTC 2009


Juan Vuletich wrote:
> Just did that. Trunk updated. The only non-zero base kern is for the 
> small pda font, where it is really needed.

Great! Thanks so much.

>> There is a remaining question which is why the text isn't resizing 
>> itself to the proper width (with or without wrong kerning) but I think 
>> that's a separate question to consider.
> 
> Tried to dive a bit in the deep waters of CharacterScanner, and the 
> handling of fractional kerning, etc. I believe that StrikeFont>>widthOf: 
> should substract the base kern in the last line (as it does in Cuis), 
> but doing this brings yet more artifacts...

I'm not sure, but it looks as if after your fix the text morph is 
exactly the right size and not clipped any longer. So I think we're good.

Cheers,
   - Andreas



More information about the Squeak-dev mailing list