unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Plipe Exty <explicit.type@gmail.com>
To: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: 776@emacsbugs.donarmstrong.com
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	[thread overview]
Message-ID: <48B39BD8.4050302@gmail.com> (raw)
In-Reply-To: <wl63po36zn.wl%mituharu@math.s.chiba-u.ac.jp>

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 <david.reitter@gmail.com> said:
> 
>> Begin forwarded message:
> 
>> From: Plipe Exty <explicit.type@gmail.com>
>> 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







      reply	other threads:[~2008-08-26  5:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <48B2A9D5.5050600@gmail.com>
2008-08-25 18:34 ` bug#776: 22 carbon: mac-allow-anti-aliasing does not always work with bold fonts David Reitter
2008-08-26  1:22   ` YAMAMOTO Mitsuharu
2008-08-26  5:59     ` Plipe Exty [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48B39BD8.4050302@gmail.com \
    --to=explicit.type@gmail.com \
    --cc=776@emacsbugs.donarmstrong.com \
    --cc=mituharu@math.s.chiba-u.ac.jp \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).