all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ben Bonfil <bonfil@gmail.com>
To: Alan Third <alan@idiocy.org>
Cc: 28222@debbugs.gnu.org
Subject: bug#28222: [PATCH] Use thin font smoothing in macOS
Date: Fri, 25 Aug 2017 18:58:51 +0200	[thread overview]
Message-ID: <CAJFi9==DMpzv2kq2h5urxr+nJAEkpnuUi3vffDUAp5P7rB+d5A@mail.gmail.com> (raw)
In-Reply-To: <20170825161324.GA63651@breton.holly.idiocy.org>

[-- Attachment #1: Type: text/plain, Size: 1308 bytes --]

Hi Alan,

Thanks for taking the time to look at this.

The way I see it, this is analogous to the existing ns-antialias-text flag,
which is another rendering preference that can be changed system-wide, yet
is available within Emacs.
I would say that the use of these options is sometimes beneficial, based on
one's choice of fonts.
For example, if you use a bitmap font in Emacs, you would likely disable
anti-aliasing, but you wouldn't necessarily do it system-wide.

(I don't really know how to turn on thin smoothing system-wide, but that's
not the main argument)

As for Dr. Stallman's question: fortunately this is not necessary in
GNU/Linux, but on macOS with a non-HiDPI display I personally find the
difference significant.

Ben

On Fri, Aug 25, 2017 at 6:13 PM, Alan Third <alan@idiocy.org> wrote:

> On Thu, Aug 24, 2017 at 01:20:26PM +0200, Ben Bonfil wrote:
> > Attached is a small patch that enables thin font smoothing on macOS, just
> > like in iTerm2.
> > It is toggled by a new variable called ns-use-thin-smoothing.
> >
> > Tested only on macOS Sierra (10.12.6)
>
> Hi, is there any reason this needs to be done within Emacs? As far as
> I can tell you should be able to set thin anti‐aliasing without
> needing a setting in Emacs.
> --
> Alan Third
>

[-- Attachment #2: Type: text/html, Size: 1854 bytes --]

  reply	other threads:[~2017-08-25 16:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-24 11:20 bug#28222: [PATCH] Use thin font smoothing in macOS Ben Bonfil
2017-08-25  2:44 ` Richard Stallman
2017-08-25  7:29   ` Alan Third
2017-08-25 19:09     ` Richard Stallman
2017-08-25 16:13 ` Alan Third
2017-08-25 16:58   ` Ben Bonfil [this message]
2017-08-25 20:02     ` Alan Third
2017-08-26  7:27       ` Eli Zaretskii
2017-08-29 10:09       ` Ben Bonfil
2017-08-29 16:27         ` Alan Third

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='CAJFi9==DMpzv2kq2h5urxr+nJAEkpnuUi3vffDUAp5P7rB+d5A@mail.gmail.com' \
    --to=bonfil@gmail.com \
    --cc=28222@debbugs.gnu.org \
    --cc=alan@idiocy.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 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.