[Tweak] Word wrapping in Tweak
emf at umn.edu
Fri Oct 20 14:49:40 UTC 2006
I have this version of
rn: in my image:
ar 4/12/2005 19:53 · scanning · 2 implementors · in change sets:
5994-004-systemMod 6651ExternalCleanup 6662WideNames
But word wrapping is still occurring in the middle of words in my image.
I found differences between MultiCompositionScanner and
CompositionScanner in crossedX, notably that breakAtSpace is set to
false in setFont, causing crossedX to drop to the clause at the
"It wasn't a space, but anyway this is where we break the line."
So, as shipped the class will always break the line anywhere. But
setting breakAtSpace true did not seem to fix to problem. Also, i
tried initializing MultiCharacterScanner:
with no effect. I can see the wrapping being broken in the first two
windows you open when Tweak starts up as downloaded straight off impara.
On Oct 19, 2006, at 10:25 PM, Andreas Raab wrote:
> We fixed this a long time ago. If you look at
> kern: this method should be from '05 with the main difference being
> that the (broken) call to basicScanCharacters... is taken out.
> - Andreas
> Fournier Eric wrote:
>> What's the story with MultiCompositionScanner? The version I have
>> in my (not too recently updated) Tweak image is used by
>> CTextComposer as the scanner, and is the reason word wrapping
>> seems broken in Tweak.
>> I regressed to CompositionScanner, which got word wrapping back at
>> the cost of multi-lingual compatibility (?).
>> I was just wondering if MultiCompositionScanner had progressed
>> beyond 12/2002 (timestamps seen in there).
>> Eric Fournier
>> University of Minnesota
>> Office of Information Technology
>> emf at umn.edu
>> Tweak mailing list
>> Tweak at impara.de
> Tweak mailing list
> Tweak at impara.de
More information about the Squeak-dev