[BUG?] Text misaligned on 16 bit color depth

Stefan Matthias Aust sma at 3plus4.de
Sun Dec 26 13:43:11 UTC 1999


--=====================_946212191==_
Content-Type: text/plain; charset="us-ascii"


Merry Christmas,

Perhaps there's some other person also working with Squeak these days who
can answer this question.  I had a hard time to understand how to render
paragraphs of text.  I finally managed to create my RgMessageMorph (see
attachment) as I wanted but there's one problem left.  Depending on screen
depth, my text is aligned differently.

The message morph shows text which fades away on a half-transparent
background. (I wanted something that's cooler than a simple transcript ;-)

Okay, it seems that I don't get tranparency with 8 bit screen depth, but I
can live with that limitation.  But WHY is the text indented by a few
pixels to the right on 16 bit screen depth.  On 32 bits, it's correct again.

The class comment has some example code to try out.  I observed this on 2.6.


bye
--=====================_946212191==_
Content-Type: text/plain; name="RgMessageMorph.st"
 ; x-mac-type="65417070"
 ; x-mac-creator="43534F6D"
Content-Disposition: attachment; filename="RgMessageMorph.st"
Content-Transfer-Encoding: imap_stub

0,2660,2,5542,0,

--=====================_946212191==_
Content-Type: text/plain; charset="us-ascii"



--
Stefan Matthias Aust  //  Bevor wir fallen, fallen wir lieber auf.
--=====================_946212191==_--





More information about the Squeak-dev mailing list