emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: Greg Newman <greg@20seven.org>
Cc: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>,
	Carsten Dominik <carsten.dominik@gmail.com>
Subject: Re: Colors for pre elem. on orgmode.org
Date: Mon, 16 Nov 2009 17:43:55 +0100	[thread overview]
Message-ID: <877htq45bh.fsf@gmx.de> (raw)
In-Reply-To: 71454fac0911160517l3bf8031fn27a666e30c2623c9@mail.gmail.com

Greg Newman <greg@20seven.org> writes:
> On my calibrated monitor that's fine for readability
>
> On Mon, Nov 16, 2009 at 8:15 AM, Sebastian Rose <sebastian_rose@gmx.de>wrote:


My monitor is not calibrated, but I see all the 1's on
http://www.fotocommunity.de/pc/pc/mypics/572427/display/3843090 so the
contrast is good enough.

I just installed lprof and tried to improve the calibration of my
monitor (which I never had problems with, BTW). But I couldn't enter the
monitor values for "Weißpunkt" (`white point' ???) and "Grundfarben"
(`basic colors' ??), because I did not know what to enter there. "Set
Gamma and Black Point" seems not to work correct (according to photos I
see on the net like the one mentioned above). When I load a photo for
Scanner calibration, the image is distorted - so I don't really know why
to trust that program => uninstalled it again.

There are other programs for calibration, but I don't have colorimeter
at hand. And I don't know anyone who owns such a thing.

I don't know many people, who use calibrated monitors by the way. Just a
few people doing graphics - and even they don't own a colorimeter.


It is a tiny little bit better with bigger fonts (in Opera I see heavier
font - in FF the Courier font is very light - might be a bug), or.

I think we should make it readable for everyone, right? And we should
make as close to the optimum as possible.

Here is what I see on  flickr:
http://www.flickr.com/photos/44727594@N04/4109090241/in/set-72157622816907722/ 


I see this lack of contrast on different hardware, too:

  - Lenovo 500 + Ubuntu 9.04/Windows Vista Business,
  - IYAMA 4 years old attached to a P4 with Debian and NVIDIA driver



>
>> Carsten Dominik <carsten.dominik@gmail.com> writes:
>> > Hi Sebastian,
>> >
>> > can you point to a page where you think the stuff is badly readable?
>> >
>> > - Carsten
>>
>> Yes - sorry.
>>
>>
>> http://orgmode.org/worg/org-contrib/org-protocol.php#open-source-rewritten-urls
>>
>>
>>
>>  Sebsatian
>>
>>
>>
>> >
>> > On Nov 15, 2009, at 8:08 PM, Sebastian Rose wrote:
>> >
>> >> Hi,
>> >>
>> >>
>> >> the colors on orgmode.org are made from an Emacs setup with a dark
>> >> background.
>> >>
>> >> Because of the light background on the Web, code examples with syntax
>> >> highlighting are hard to read. I even avoid #+BEGIN_SRC and use
>> >> #+BEGIN_EXAMPLE instead.
>> >>
>> >>
>> >> I played a little locally, and found, that the following simple change
>> >> makes highlighted source code readable. Just put this in an exported
>> >> HTML file, just before the `</head>' tag and keep the original styles in
>> >> place, to see the results:
>> >>
>> >>
>> >> <style type="text/css">
>> >> pre {
>> >>    background-color:#333333;
>> >>    color:white;
>> >> }
>> >> </pre>
>> >>
>> >> These are just the changed values.
>> >>
>> >>
>> >>
>> >> Unfortunately, this changes the appearance significantly. Dark
>> >> background for all code.
>> >>
>> >>
>> >>
>> >> As an alternative, we could change all foreground colors, in that we
>> >> keep the tint, but reduce the brightness of each. That way we would keep
>> >> the appearance and have readable code. I've changed the background to be
>> >> slightly lighter. Just put this in an exported HTML file, just before
>> >> the `</head>' tag and keep the original styles in place, to see the
>> >> results:
>> >>
>> >>
>> >> <style type="text/css">
>> >>
>> >> pre {
>> >>    /* only the changed values for <pre> again */
>> >>    background-color:#fafafa;
>> >>
>> >>    /* Use bigger font? courier is soo small on my system: */
>> >>    font-size:110%;
>> >> }
>> >>
>> >>
>> >> .org-string   { color:#BC2020; }
>> >> .org-builtin  { color:#5C2659; }
>> >> .org-keyword  { color:#5C128A; }
>> >> .org-doc      { color:#754C4C; }
>> >> .org-constant { color:#385D5E; }
>> >>
>> >> .org-variable-name { color:#805F11; }
>> >> .org-function-name { color:#0000CC; }
>> >>
>> >> </style>
>> >>
>> >>
>> >>
>> >> What do you think?
>> >>
>> >> How is the font-size of code on Windows and MAC (Safari)?
>> >>
>> >>
>> >>
>> >>  Sebastian
>> >>
>> >>
>> >> _______________________________________________
>> >> Emacs-orgmode mailing list
>> >> Remember: use `Reply All' to send replies to the list.
>> >> Emacs-orgmode@gnu.org
>> >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>> >
>> > - Carsten
>> >
>> >


Sebastian

  reply	other threads:[~2009-11-16 19:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-15 19:08 Colors for pre elem. on orgmode.org Sebastian Rose
2009-11-16 13:04 ` Carsten Dominik
2009-11-16 13:15   ` Sebastian Rose
2009-11-16 13:17     ` Greg Newman
2009-11-16 16:43       ` Sebastian Rose [this message]
2009-11-16 22:33         ` Rick Moynihan
2009-11-17 17:31           ` Eric S Fraga
2009-11-17 18:17             ` Sebastian Rose
2009-11-17 19:03               ` Eric S Fraga
2009-11-17 19:16                 ` Rick Moynihan
2009-11-16 15:56     ` Carsten Dominik

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877htq45bh.fsf@gmx.de \
    --to=sebastian_rose@gmx.de \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=greg@20seven.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).