bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#776: 22 carbon: mac-allow-anti-aliasing does not always work with bo


From: Plipe Exty
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
User-agent: Thunderbird 2.0.0.16 (Macintosh/20080707)

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 <address@hidden> said:
> 
>> Begin forwarded message:
> 
>> From: Plipe Exty <address@hidden>
>> Date: 25 August 2008 08:47:17 EDT
>> To: address@hidden
>> 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
>                               address@hidden







reply via email to

[Prev in Thread] Current Thread [Next in Thread]