From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.bugs Subject: bug#776: 22 carbon: mac-allow-anti-aliasing does not always work with bold fonts Date: Tue, 26 Aug 2008 10:22:36 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <48B2A9D5.5050600@gmail.com> <4D63B518-912E-480B-964F-95090AB3BB43@gmail.com> Reply-To: YAMAMOTO Mitsuharu , 776@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1219715272 10622 80.91.229.12 (26 Aug 2008 01:47:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Aug 2008 01:47:52 +0000 (UTC) Cc: Plipe Exty To: David Reitter , 776@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 26 03:48:45 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KXnfg-0002ma-6E for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Aug 2008 03:48:36 +0200 Original-Received: from localhost ([127.0.0.1]:58585 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXnei-0000hk-0S for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Aug 2008 21:47:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KXned-0000ev-KG for bug-gnu-emacs@gnu.org; Mon, 25 Aug 2008 21:47:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KXned-0000eZ-4H for bug-gnu-emacs@gnu.org; Mon, 25 Aug 2008 21:47:31 -0400 Original-Received: from [199.232.76.173] (port=58886 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXned-0000eR-0u for bug-gnu-emacs@gnu.org; Mon, 25 Aug 2008 21:47:31 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40483) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KXnec-0003zw-D7 for bug-gnu-emacs@gnu.org; Mon, 25 Aug 2008 21:47:30 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7Q1lSDB018896; Mon, 25 Aug 2008 18:47:28 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7Q1U3Nv012975; Mon, 25 Aug 2008 18:30:03 -0700 X-Loop: don@donarmstrong.com Resent-From: YAMAMOTO Mitsuharu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 26 Aug 2008 01:30:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 776 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 776-submit@emacsbugs.donarmstrong.com id=B776.121971376111081 (code B ref 776); Tue, 26 Aug 2008 01:30:03 +0000 Original-Received: (at 776) by emacsbugs.donarmstrong.com; 26 Aug 2008 01:22:41 +0000 Original-Received: from mathmail.math.s.chiba-u.ac.jp (mathmail.math.s.chiba-u.ac.jp [133.82.132.2]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7Q1MbOP011075 for <776@emacsbugs.donarmstrong.com>; Mon, 25 Aug 2008 18:22:38 -0700 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id E621F2C48; Tue, 26 Aug 2008 10:22:36 +0900 (JST) In-Reply-To: <4D63B518-912E-480B-964F-95090AB3BB43@gmail.com> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 =?UTF-8?Q?(Shij=C5=8D)?= APEL/10.6 Emacs/22.2.90 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Mon, 25 Aug 2008 21:47:31 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:19714 Archived-At: >>>>> On Mon, 25 Aug 2008 14:34:20 -0400, David Reitter said: > Begin forwarded message: > From: Plipe Exty > Date: 25 August 2008 08:47:17 EDT > To: aquamacs-bugs@aquamacs.org > Subject: [Aquamacs-bugs] Turning off anti-aliasing for bold fonts > With (setq mac-allow-anti-aliasing nil) I'm able to turn off anti- > aliasing for most fonts, except for bold ones. This results in ugly > views where some parts of the text are anti-aliased, and some > aren't. I assume this is a bug, unless there is a separate option to > turn off anti-aliasing for bold fonts. That variable controls the selection of underlying text renderer rather than anti-aliasing directly. I've once suggested its renaming at emacs-devel, but there was no response. http://lists.gnu.org/archive/html/emacs-devel/2006-04/msg01176.html To control anti-aliasing, some description in Emacs Info (`Mac Font Specs' node) might be useful. Mac OS X 10.2 or later can use two types of text renderings: Quartz 2D (aka Core Graphics) and QuickDraw. By default, Emacs uses the former on such versions. It can be changed by setting `mac-allow-anti-aliasing' to `t' (Quartz 2D) or `nil' (QuickDraw). Both ATSUI and QuickDraw Text drawings are affected by the value of this variable. Appearance of text in small sizes will also be affected by the "Turn off text smoothing for font sizes N and smaller" setting in the General pane (Mac OS X 10.1 or 10.2) or in the Appearance pane (10.3 or later) of the System Preferences. This threshold can alternatively be set just for Emacs (i.e., not as the system-wide setting) using the `defaults' command: defaults write org.gnu.Emacs AppleAntiAliasingThreshold N Also, if you prefer overstriking bold by Emacs to synthetic bold by ATSUI for Monaco for example, it can be specified as: (add-to-list 'face-ignored-fonts "\\`-[^-]*-monaco-bold-") YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp