From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Disabling ATSUI on OS X Date: Mon, 26 Mar 2007 23:07:49 +0900 (JST) Message-ID: <20070326.230749.12961481.mituharu@math.s.chiba-u.ac.jp> References: <4607C137.1040409@sektor37.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1174918094 31093 80.91.229.12 (26 Mar 2007 14:08:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Mar 2007 14:08:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: julian@sektor37.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 26 16:08:06 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HVprh-0003Yn-It for ged-emacs-devel@m.gmane.org; Mon, 26 Mar 2007 16:08:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVptw-0007As-MK for ged-emacs-devel@m.gmane.org; Mon, 26 Mar 2007 09:10:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HVptu-0007An-I7 for emacs-devel@gnu.org; Mon, 26 Mar 2007 10:10:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HVptq-00079I-6v for emacs-devel@gnu.org; Mon, 26 Mar 2007 10:10:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVptq-00079F-0o for emacs-devel@gnu.org; Mon, 26 Mar 2007 09:10:18 -0500 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HVprZ-0008B5-6d for emacs-devel@gnu.org; Mon, 26 Mar 2007 10:07:57 -0400 Original-Received: from localhost (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id B3BBB2C49; Mon, 26 Mar 2007 23:07:53 +0900 (JST) In-Reply-To: <4607C137.1040409@sektor37.de> <4607C8E9.6090904@sektor37.de> X-Mailer: Mew version 3.3 on Emacs 22.0 / Mule 5.0 (SAKAKI) X-detected-kernel: NetBSD 3.0 (DF) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:68605 Archived-At: >>>>> On Mon, 26 Mar 2007 22:48:55 +1000, Julian Scheid 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 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