[squeak-dev] Fwd: Problem with fonts on Linux with compositing activated

Bert Freudenberg bert at freudenbergs.de
Sun Aug 17 16:06:48 UTC 2008


Am 17.08.2008 um 17:56 schrieb Ken Causey:

> On Sun, 2008-08-17 at 17:04 +0200, Bert Freudenberg wrote:
>> Am 17.08.2008 um 11:29 schrieb laurent laffont:
>>
>>> Hi,
>>>
>>> I've switched to KDE4 and played with composite rendering.  With
>>> last squeak dev images some fonts are not rendered: it seems to be
>>> interpreted as a transparent region by the composite manager (see
>>> screenshot). I've tested this on my two debian boxes.
>>>
>>> This problem is not present in sq3.9.1-7075dev08.07.1 image, so I
>>> suppose it's due to NiceFont integration ?
>>
>>
>> Maybe it occurs more often with nice fonts, but it actually is a
>> combined VM/image problem.
>>
>> The VM prefers a 32 bit X visual (with alpha channel) over a 24 bit
>> one. If a compositing window manager is used, the alpha channel is
>> used for transparency, but the image generally does not care about  
>> the
>> alpha channel in its frame buffer.
>
> Does that mean there is some core location(s) where the alpha channel
> needs to be defaulting to full opacity but currently it is not?

Yes, that is where the transparent areas are under a compositing  
window manager. I also remember partly translucent menus in (old  
versions of) Croquet, and having to fix the alpha channel after taking  
a screenshot.

- Bert -

>> The olpc branch in the SVN repository has a fix for that, see
>>
>> http://tinyurl.com/6fhqmw
>>
>> - Bert -
>






More information about the Squeak-dev mailing list