[squeak-dev] Re: Text Morph Embedding Broken

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Fri Jan 10 00:35:11 UTC 2014


2014/1/8 Sean P. DeNigris <sean at clipperadams.com>

> Nicolas Cellier wrote
> > Ah yes, that's true.
> > Try with Character value: 1 instead of *:
>
> Yes, that works. So is it a bug or not?
>
> Another thing… There is noise around the embedded form. It seems that
> BitBltDisplayScanner>>#displayEmbeddedForm: should be changed to:
>         aForm
>                 displayOn: bitBlt destForm
>                 at: destX @ (lineY + line baseline - aForm height)
>                 clippingBox: bitBlt clipRect
>                 rule: Form blend
>                 fillColor: Color white
>
>
>
OK, I understood my mistake...
There were two different implementations in DisplayScanner and
MultiDisplayScanner, and I picked the wrong one... Gah !
You have the right snippet. Thanks!

Nicolas


> -----
> Cheers,
> Sean
> --
> View this message in context:
> http://forum.world.st/Text-Morph-Embedding-Broken-tp4735055p4735059.html
> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20140110/36ccf203/attachment.htm


More information about the Squeak-dev mailing list