From: Julian Scheid <julian@sektor37.de>
To: emacs-devel@gnu.org
Subject: Disabling ATSUI on OS X
Date: Mon, 26 Mar 2007 22:48:55 +1000 [thread overview]
Message-ID: <4607C137.1040409@sektor37.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 1050 bytes --]
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. I've attached an image
to demonstrate that it delivers a crispness that is not matched by its
ATSUI counterparts (top: USE_ATSUI=1, mac-allow-anti-aliasing=t;
center: USE_ATSUI=1, mac-allow-anti-aliasing=nil; bottom: USE_ATSUI=0;
all using "-*-Monaco-*-100-*").
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.
Unfortunately I don't have knowledge about OS X font rendering APIs or
Emacs source internals, or I would be preparing a patch that allows
switching the rendering engine at run-time.
Julian Scheid
[-- Attachment #2: atsui-comparison.png --]
[-- Type: image/png, Size: 584 bytes --]
[-- Attachment #3: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
next reply other threads:[~2007-03-26 12:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-26 12:48 Julian Scheid [this message]
2007-03-26 13:10 ` Disabling ATSUI on OS X Miles Bader
2007-03-26 13:21 ` Julian Scheid
2007-03-26 14:07 ` YAMAMOTO Mitsuharu
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=4607C137.1040409@sektor37.de \
--to=julian@sektor37.de \
--cc=emacs-devel@gnu.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.