From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Plipe Exty 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 08:59:52 +0300 Message-ID: <48B39BD8.4050302@gmail.com> References: <48B2A9D5.5050600@gmail.com> <4D63B518-912E-480B-964F-95090AB3BB43@gmail.com> Reply-To: Plipe Exty , 776@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1219757081 26910 80.91.229.12 (26 Aug 2008 13:24:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Aug 2008 13:24:41 +0000 (UTC) Cc: 776@emacsbugs.donarmstrong.com To: YAMAMOTO Mitsuharu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 26 15:25:24 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 1KXyXT-0007Di-M0 for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Aug 2008 15:24:52 +0200 Original-Received: from localhost ([127.0.0.1]:58632 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXyWU-0000CY-BU for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Aug 2008 09:23:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KXriG-0007lW-KP for bug-gnu-emacs@gnu.org; Tue, 26 Aug 2008 02:07:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KXriF-0007kB-Ey for bug-gnu-emacs@gnu.org; Tue, 26 Aug 2008 02:07:32 -0400 Original-Received: from [199.232.76.173] (port=48777 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXriF-0007k2-Aw for bug-gnu-emacs@gnu.org; Tue, 26 Aug 2008 02:07:31 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55886) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KXriE-0002CD-Mc for bug-gnu-emacs@gnu.org; Tue, 26 Aug 2008 02:07: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 m7Q67SZH006372; Mon, 25 Aug 2008 23:07:28 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7Q655MR005176; Mon, 25 Aug 2008 23:05:05 -0700 X-Loop: don@donarmstrong.com Resent-From: Plipe Exty Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 26 Aug 2008 06:05:05 +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.12197304012721 (code B ref 776); Tue, 26 Aug 2008 06:05:05 +0000 Original-Received: (at 776) by emacsbugs.donarmstrong.com; 26 Aug 2008 06:00:01 +0000 Original-Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7Q5xuDd002714 for <776@emacsbugs.donarmstrong.com>; Mon, 25 Aug 2008 22:59:58 -0700 Original-Received: by ey-out-2122.google.com with SMTP id 4so260238eyf.13 for <776@emacsbugs.donarmstrong.com>; Mon, 25 Aug 2008 22:59:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=LDxoPtRAS14RdzNbv04emZx90R8LCTV7zQ8bkTcIdXk=; b=kNZmiCh9iLVJJxmCpA+dcs+kwHInMd8aGSiHqHZfE1ZAKQ7OwiTKEZMRyIVfsFlP97 FhddfwDtY3wsECleelTiAvpD5dVImzD864CFJwLMmBoTWticzI9azwNoemsjYcNv80Rz MSaF785Cz2QtYFUoODlPPDPVgpU7zn3q1GH2A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=LFkGGUHNm19NCJyID6FbAnguAQ/SZCKun9TaYINzoMbqgPs8gh8yUr+1+N7PVw+7dJ 988vLr0bwX5oB0QakzGYcTNGwCwTVooah7BMizrFAN4rGGlMVxb67wD2G49g7g177wBt 6k6GKJFLkHUFMaGGaNFmGAwHD/XIIomzVQ7KA= Original-Received: by 10.210.16.16 with SMTP id 16mr6623605ebp.35.1219730396039; Mon, 25 Aug 2008 22:59:56 -0700 (PDT) Original-Received: from ?10.0.0.6? ( [213.157.91.96]) by mx.google.com with ESMTPS id y34sm5006305iky.10.2008.08.25.22.59.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 25 Aug 2008 22:59:54 -0700 (PDT) User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) In-Reply-To: X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Tue, 26 Aug 2008 02:07:32 -0400 X-Mailman-Approved-At: Tue, 26 Aug 2008 09:23:04 -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:19721 Archived-At: Thanks YAMAMOTO! A small change to your tip and it works in Aquamacs Emacs: defaults write org.gnu.AquamacsEmacs AppleAntiAliasingThreshold N David, I think this whole process should be explained in Aquamacs' help. Cheers, -exty YAMAMOTO Mitsuharu wrote: >>>>>> 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