[macemacsjp-english 680] Re: Transparency patch (again)

Back to archive index

Peter Dyballa Peter_Dybal****@Web*****
Mon Oct 2 05:19:55 JST 2006


Am 22.09.2006 um 20:10 schrieb Peter Dyballa:

> Yesterday I could build in Fink X.Org 6.8.2 and Xfree86 4.5.0. I'll  
> try to install them tonight or tomorrow.

To finish this thread: the manual pages say, no recently available X  
server can serve a depth of 32 bits: 24 bits for colour + 8 bits for  
transparency.

Xquartz:

        -depth depth
            Specifies the color bit depth to use. Currently only 15,  
and 24
            color bits per pixel are supported. If not specified,   
defaults
            to the depth of the main display.


XFree86:

        -depth n
            Sets the default color depth.  Legal values are 1,  4,   
8,  15,
            16, and 24.  Not all drivers support all values.


Xorg:

        -depth n
            Sets  the  default  color depth.  Legal values are 1, 4,  
8, 15,
            16, and 24.  Not all drivers support all values.


XDarwin:

        -depth depth
            Specifies the color bit depth to use. Currently only 8,  
15, and
            24 color bits per pixel are  supported.   Ignored  in   
rootless
            mode.

So with the existing means it's not possible to see transparency in  
GNU Emacs on Mac OS X in X11.


With Xorg 7.1 I still have some problems. The most recent one is with  
byte swapping. In Linux (my examples are from Fedora Core 5 for PPC)  
there are the functions bswap{16,32,64}, as defined in /usr/include/ 
byteswap.h and /usr/include/bits/byteswap.h (effectively). Tiger has  
something similiar in OSByteOrder.h: OSSwapConstInt{16,32,64},   
OSSwapInt{16,32,64}, OSReadInt{16,32,64}, OSWriteInt{16,32,64}, ...  
but for me it's not easy to understand which one can be a substitute.  
The most simple solution would be to build an X server without GL  
support!

--
Greetings

   Pete

The most exciting phrase to hear in science, the one that heralds new  
discoveries, is not "Eureka!" (I found it!) but "That's funny..."
                                       Isaac Asimov





More information about the macemacsjp-english mailing list
Back to archive index