[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: Suggest improve tool-bar

Thank you very much for working out a solution so quickly. I will give
it a try.

On 2007-01-22, Katsumi Yamaoka said:

> I've made a trial to enable emacs-w3m to use icons of all the image
> types that Emacs supports, except for spinner.gif.  The patch is
> attached below.  But there is at least one reason to let me hesitate
> to install it in the CVS repository.  That is, Emacs seems not to
> support transparent colors in PNG files.  For example, I made
> antenna-up.png in this way:
> xpmtoppm antenna-up.xpm| pnmtopng -transparent='#b6b2b6'> antenna-up.png
> While ImageMagick's `display' shows the background of the image
> transparent, Emacs[1] doesn't.  It is the same problem for which
> Chris Moore reported in the emacs-pretest-bug list[2], isn't it?  I
> don't want to install this feature until the problem is solved.
> [1] I use LemonChiffon2 for the background color of the `tool-bar'
>     face.  My Emacs 22 links /usr/lib/libpng12.so.0 in the Fedora
>     Core 6 system which I update every day.
> [2] http://news.gmane.org/group/gmane.emacs.pretest.bugs/thread=16525

It looks like only png images opened in the buffer do not support
arbitrary transparency. The toolbar has no such problem at least for

Take a look at the following Emacs toolbar. As you can see, there are
nice shadows for some icons.

PNG image

Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)