[squeak-dev] Problem with #applyTransitions in Language Translator

=?EUC-KR?B?sK3B+L/A?= jinoh67 at gmail.com
Wed Feb 22 12:06:29 UTC 2012


Thank you, but I already solved the problem and learned everything you said
before I send the mail. I simply solved the problem by fixing the font. It
seems that the mail was in queue and was sent after I solved it.

2012. 2. 22. ¿ÀÈÄ 12:47¿¡ "Chris Muller" <asqueaker at gmail.com>´ÔÀÌ ÀÛ¼º:
&
>
> There appears to be a corruption in Squeak's font structure for
> special-characters.
>
> The #fallbackFont of the StrikeFont refers back to the original
> StrikeFont, leading to endless recursion and locking up your image.
> This script identifies the fonts with wrong pointers:
>
>  StrikeFont allInstances select: [ : e | (e fallbackFont respondsTo:
> #baseFont) and: [ e fallbackFont baseFont == e ] ]
>
> StrikeFont>>#widthOf: aCharacter -- if the aCharacter is a special
> character it will ask the #fallbackFont for widthOf: aCharacter, which
> turns around and asks it's #baseFont, which happens to be the original
> StrikeFont.
>
> The problem occurs when the fallbackFont is not already set.  So this
> appears to be a bug with StrikeFont>>#fallbackFont.
>
> Do any of the font experts know a proper fix?
>
>
>
> 2012/2/20 °­Áø¿À <jinoh67 at gmail.com>:
> > Hi.
> >
> > I have a problem with my language translator.
> >
> > When I press [apply] button on my language translator,
> >
> > My Squeak was lacked and got a lot of memory and CPU.
> >
> > I restarted and executed that action with new process.
> >
> > Even though the priority of it was the lowest (10),
> >
> > It started to make my Squeak to be slow.
> >
> > I suspended it and traced the stack.
> >
> > It was the loop of:
> >
> > StrikeFont>>widthOf:
> >
> > FixedFaceFont>>widthOf:
> >
> > StrikeFont>>widthOf:
> >
> > FixedFaceFont>>widthOf:
> >
> > StrikeFont>>widthOf:
> >
> > FixedFaceFont>>widthOf:
> >
> > StrikeFont>>widthOf:
> >
> > FixedFaceFont>>widthOf:
> >
> > ¡¦
> >
> > There was limit to view all stack trace,
> >
> > So I created new process that trace suspended stack trace.
> >
> > But I couldn¡¯t find the root.
> >
> > What happened to my Squeak?
> >
> >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20120222/cb79ea19/attachment.htm


More information about the Squeak-dev mailing list