From: "Francesc Rocher" <rocher@member.fsf.org>
To: "Stefan Monnier" <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: New look for Emacs-23.0
Date: Mon, 7 Jul 2008 23:28:42 +0200 [thread overview]
Message-ID: <ade856a30807071428g12aba810vaf2474b6a6a21c46@mail.gmail.com> (raw)
In-Reply-To: <jwvr6aafxbf.fsf-monnier+emacs@gnu.org>
On Thu, Jul 3, 2008 at 11:55 PM, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
>> (= (funcall 'x-display-planes) 8))
>> + "splash8.xpm"
>> + "splash.xpm"))))
>> + (t "splash.pbm")))
>
> This code still needs to be tuned to correctly pay attention to the
> color depth: testing display-planes only when we don't support SVG and
> PNG doesn't make any sense.
>
May be what's wrong is that 'x-display-planes' is used to test whether
'splash8.xpm' or 'splash.xpm' must be displayed. I think it's wrong
because both images are not so different. Judging by the name of these
images, I did suppose they had different color depth. Surprisingly,
I've found this:
splash.xpm
**************************************************
static char *splash[] = {
/* width height num_colors chars_per_pixel */
" 270 217 4 1",
/* colors */
". c None",
"# c #c64e3b",
"a c #000000",
"c c #2076c1",
**************************************************
splash8.xpm
**************************************************
static char * splash_xpm[] = {
"270 217 4 1",
" c None",
". c #C64E3B",
"+ c #000000",
"@ c #2076C1",
**************************************************
So, in terms of color depth, what's the difference between these images?
Best regards,
--
Francesc Rocher
next prev parent reply other threads:[~2008-07-07 21:28 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-28 15:46 New look for Emacs-23.0 Francesc Rocher
2008-06-30 10:12 ` Juanma Barranquero
2008-06-30 10:22 ` Werner LEMBERG
2008-06-30 10:24 ` Miles Bader
2008-07-01 22:30 ` Leo
2008-07-01 23:35 ` Chong Yidong
2008-07-03 19:39 ` Dmitry Dzhus
2008-07-03 21:55 ` Stefan Monnier
2008-07-07 21:28 ` Francesc Rocher [this message]
2008-07-08 1:24 ` Stefan Monnier
2008-07-16 9:56 ` Francesc Rocher
2008-07-16 16:22 ` Stefan Monnier
2008-07-18 14:25 ` Juanma Barranquero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ade856a30807071428g12aba810vaf2474b6a6a21c46@mail.gmail.com \
--to=rocher@member.fsf.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.