* bug#776: 22 carbon: mac-allow-anti-aliasing does not always work with bold fonts [not found] <48B2A9D5.5050600@gmail.com> @ 2008-08-25 18:34 ` David Reitter 2008-08-26 1:22 ` YAMAMOTO Mitsuharu 0 siblings, 1 reply; 3+ messages in thread From: David Reitter @ 2008-08-25 18:34 UTC (permalink / raw) To: emacs-pretest-bug [-- Attachment #1.1: Type: text/plain, Size: 214 bytes --] PS.: On my request, the user tested this with a more recent build as well (Aquamacs distro of 22, Carbon) and sent these two screenshots. I cannot reproduce it: bold fonts, for me, look substantially different. [-- Attachment #1.2: no_anti-aliasing.png --] [-- Type: image/png, Size: 6587 bytes --] [-- Attachment #1.3: anti-aliasing.png --] [-- Type: image/png, Size: 9446 bytes --] [-- Attachment #1.4: Type: text/plain, Size: 4165 bytes --] 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. -exty In GNU Emacs 22.2.50.2 (i386-apple-darwin9.2.2, Carbon Version 1.6.0) of 2008-06-17 on plume.sr.unh.edu - Aquamacs Distribution 1.4 Windowing system distributor `Apple Inc.', version 10.5.4 configured using `configure '--without-x' '--prefix=/usr/local'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil locale-coding-system: iso-latin-1 default-enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: display-time-mode: t savehist-mode: t aquamacs-styles-mode: t smart-frame-positioning-mode: t recentf-mode: t encoded-kbd-mode: t osx-key-mode: t show-paren-mode: t delete-selection-mode: t pc-selection-mode: t cua-mode: t tooltip-mode: t tool-bar-mode: 0 mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: <vc-diff> <help-echo> C-x o C-n C-n C-p C-n v a r SPC <help-echo> <down-mouse-1> <mouse-1> f d k s j C-x v v v a r SPC c a r ; <return> C-x C-s C-x v + = <backspace> = <backspace> C-x v = C-g C-x v = y C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-x k <return> C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n <switch-frame> C-x k <return> <help-echo> C-x C-f c o n <tab> <return> <down-mouse-1> <mouse-movement> <mouse-1> C-x C-f i n <tab> <tab> <backspace> <backspace> <tab> <tab> m <backspace> c <backspace> s c <tab> l <backspace> a l <tab> <return> C-x k <return> <switch-frame> <help-echo> <help-echo> <tool-bar> <customize> <help-echo> <wheel-down> <double-wheel-down> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down> <wheel-down> <double-wheel-down> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down> <triple-wheel-up> <triple-wheel-up> <triple-wheel-up> <triple-wheel-up> <triple-wheel-up> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down> <triple-wheel-up> <triple-wheel-up> <triple-wheel-up> <triple-wheel-down> <wheel-up> <wheel-down> <wheel-up> <help-echo> <help-echo> <switch-frame> <help-echo> <help-echo> <help-echo> <help-echo> <switch-frame> <switch-frame> <down-mouse-1> <mouse-movement> <mouse-1> <down-mouse-1> <mouse-1> C-p / / C-x C-s C-n C-n C-n <switch-frame> <down-mouse-1> <mouse-movement> <mouse-1> <switch-frame> <menu-bar> <tools> <gdb> C-g <menu-bar> <tools> <compile> C-g <menu-bar> <tools> <compile> C-g <menu-bar> <help-menu> <send-emacs-bug-report> <down-mouse-1> <mouse-movement> <mouse-1> C-x C-f <tab> <tab> <help-echo> <menu-bar> <help-menu> <send-ema cs-bug-report> Recent messages: Loading compile...done Quit [2 times] Loading emacsbug...done Mark set Sending... Loading mailclient...done Loading browse-url...done Sending...done Mark set Making completion list... [-- Attachment #2: smime.p7s --] [-- Type: application/pkcs7-signature, Size: 2193 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#776: 22 carbon: mac-allow-anti-aliasing does not always work with bold fonts 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 0 siblings, 1 reply; 3+ messages in thread From: YAMAMOTO Mitsuharu @ 2008-08-26 1:22 UTC (permalink / raw) To: David Reitter, 776; +Cc: Plipe Exty >>>>> 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#776: 22 carbon: mac-allow-anti-aliasing does not always work with bold fonts 2008-08-26 1:22 ` YAMAMOTO Mitsuharu @ 2008-08-26 5:59 ` Plipe Exty 0 siblings, 0 replies; 3+ messages in thread From: Plipe Exty @ 2008-08-26 5:59 UTC (permalink / raw) To: YAMAMOTO Mitsuharu; +Cc: 776 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-08-26 5:59 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [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
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).