all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: julian@sektor37.de
Cc: emacs-devel@gnu.org
Subject: Re: Disabling ATSUI on OS X
Date: Mon, 26 Mar 2007 23:07:49 +0900 (JST)	[thread overview]
Message-ID: <20070326.230749.12961481.mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <4607C137.1040409@sektor37.de> <4607C8E9.6090904@sektor37.de>

>>>>> On Mon, 26 Mar 2007 22:48:55 +1000, Julian Scheid <julian@sektor37.de> said:

> In Emacs HEAD it is not possible to disable ATSUI font rendering on
> Mac OS X at run-time or at compile-time without hacking the source.

>    $ grep -re 'define[[:space:]]\+USE_ATSUI' emacs
>    emacs/src/macgui.h:#define USE_ATSUI 1
>    $

> IMHO, and personal preference nonwithstanding, rendering without ATSUI
> should at least be an option at compile-time.

"#define USE_ATSUI 1" in macgui.h is surrounded by "#ifndef
USE_ATSUI", so at least you can pass "-DUSE_ATSUI=0" via CFLAGS.

> In the spirit of offering choices I would suggest introducing a
> --disable-atsui configure option, and I'd be happy to send over a
> corresponding patch I have sitting here.  It just defines USE_ATSUI to
> be 0 if the option is specified.

That's not necessary.  Non-ATSUI-compatible (Font Manager) fonts are
still available even if ATSUI is enabled at the compile time.  See the
"Mac Font Specs" node in the Emacs info.

>>>>> On Mon, 26 Mar 2007 23:21:45 +1000, Julian Scheid <julian@sektor37.de> said:

> Thanks for the heads-up, but as far as I'm aware the only control I
> have over text rendering in OS X is the "turn off font smoothing for
> font sizes N and smaller" setting in the Appearance panel in System
> Preferences, and that works on a system-wide level regardless of which
> font is affected and whether we're talking proportional or fixed
> fonts.

That's not necessarily a system-wide level setting.  You can specify
it as a application-specific setting like

  $ defaults write org.gnu.Emacs AppleAntiAliasingThreshold 100

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp

  reply	other threads:[~2007-03-26 14:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-26 12:48 Disabling ATSUI on OS X Julian Scheid
2007-03-26 13:10 ` Miles Bader
2007-03-26 13:21   ` Julian Scheid
2007-03-26 14:07     ` YAMAMOTO Mitsuharu [this message]
2007-03-26 15:15       ` Stefan Monnier
2007-03-28  8:25         ` YAMAMOTO Mitsuharu
2007-03-27  2:04       ` Julian Scheid
2007-03-26 13:34   ` Julian Scheid

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=20070326.230749.12961481.mituharu@math.s.chiba-u.ac.jp \
    --to=mituharu@math.s.chiba-u.ac.jp \
    --cc=emacs-devel@gnu.org \
    --cc=julian@sektor37.de \
    /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.