all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Disabling ATSUI on OS X
@ 2007-03-26 12:48 Julian Scheid
  2007-03-26 13:10 ` Miles Bader
  0 siblings, 1 reply; 8+ messages in thread
From: Julian Scheid @ 2007-03-26 12:48 UTC (permalink / raw)
  To: emacs-devel

[-- 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-03-28  8:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.