all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuri Khan <yuri.v.khan@gmail.com>
To: Nicolas Petton <nicolas@petton.fr>
Cc: Emacs Devel <emacs-devel@gnu.org>,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	Dmitry Gutov <dgutov@yandex.ru>
Subject: Re: [announce] The new website for GNU ELPA is online
Date: Fri, 9 Dec 2016 20:06:11 +0700	[thread overview]
Message-ID: <CAP_d_8X5HMH7MAz9Sb3cEQocL5oc+pw23vWrMa-Y278zcx0L2Q@mail.gmail.com> (raw)
In-Reply-To: <87a8c5ifgq.fsf@petton.fr>

On Fri, Dec 9, 2016 at 5:06 PM, Nicolas Petton <nicolas@petton.fr> wrote:

>> - The logo (both versions) looks a little blurry to me, like the text's
>> edges in "ξlpa" are less definite than in "GNU Emacs Lisp Package
>> Archive" below it. Although that might have everything to do with me
>> using a 4K monitor.
>
> Oh, yes, most probably.  I don't have such a monitor, but I'll ask a
> colleague to see by myself.

Indeed, normal pixel density images will look blurry on a high-density
monitor. (“4K” does not directly mean “HiDPI”; depends on the monitor
diagonal. Also, DPI alone is not a meaningful metric; “DPI at normal
viewing distance” or “device pixels per degree” are better.)

To see the image as your HiDPI(-at-normal-distance) users will, zoom
to 200% in your browser and optionally double the viewing distance.

To counter this problem, you have three options, in decreasing order
of preference:

* Use vector graphics (SVG) where possible. Good for text and line art
if you don’t have to support Internet Explorer 8. Additional advantage
is that file size decreases.

* Provide the image at twice the width and twice the height and scale
to normal pixel width using CSS. Good for photos because the above
solution is not possible; somewhat wasteful for text and line art.

* Add a CSS rule that switches to nearest-neighbor scaling:
image-rendering: -moz-crisp-edges for Firefox or image-rendering:
pixelated for Webkit-based browsers. Good for pixel art and
screenshots, but browser support is non-uniform.



  reply	other threads:[~2016-12-09 13:06 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-30 23:30 [announce] The new website for GNU ELPA is online Nicolas Petton
2016-11-30 23:39 ` Kaushal Modi
2016-12-01  0:05 ` Clément Pit--Claudel
2016-12-01 12:49   ` Nicolas Petton
2016-12-01 14:26     ` Clément Pit--Claudel
2016-12-01 14:35       ` Nicolas Petton
2016-12-01 14:44         ` Clément Pit--Claudel
2016-12-01 15:51           ` Nicolas Petton
2016-12-03  7:03             ` Matthew Carter
2016-12-01 23:08   ` Nicolas Petton
2016-12-01 23:35     ` Clément Pit--Claudel
2016-12-03  7:04       ` Matthew Carter
2016-12-01  0:35 ` Daniel Colascione
2016-12-01  1:42 ` Alex Dunn
2016-12-01 12:50   ` Nicolas Petton
2016-12-09  1:05 ` Dmitry Gutov
2016-12-09  1:58   ` Stefan Monnier
2016-12-09 10:06   ` Nicolas Petton
2016-12-09 13:06     ` Yuri Khan [this message]
2016-12-09  9:15 ` Rasmus
2016-12-09 10:07   ` Nicolas Petton

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=CAP_d_8X5HMH7MAz9Sb3cEQocL5oc+pw23vWrMa-Y278zcx0L2Q@mail.gmail.com \
    --to=yuri.v.khan@gmail.com \
    --cc=dgutov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=nicolas@petton.fr \
    /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.