GNU bug report logs -
#2478
23.0.91; font antialiasing switch in nextstep broken
Previous Next
Reported by: Nikolaj Schumacher <me <at> nschum.de>
Date: Thu, 26 Feb 2009 08:35:03 UTC
Severity: normal
Done: Adrian Robert <adrian.b.robert <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2478 in the body.
You can then email your comments to 2478 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2478
; Package
emacs
.
(Thu, 26 Feb 2009 08:35:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Nikolaj Schumacher <me <at> nschum.de>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Thu, 26 Feb 2009 08:35:04 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Hello,
switching font antialiasing in nextstep doesn't work. A fix is included.
regards,
Nikolaj Schumacher
In GNU Emacs 23.0.91.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43)
of 2009-02-26 on thursday
Windowing system distributor `Apple', version 10.3.949
configured using `configure '--with-ns' '--without-x' 'CC=gcc-4.2' 'CFLAGS=-arch i386 -O2''
diff --git a/src/nsfont.m b/src/nsfont.m
index 386637d..e2e537f 100644
--- a/src/nsfont.m
+++ b/src/nsfont.m
@@ -1053,7 +1053,7 @@ nsfont_draw (struct glyph_string *s, int from, int to, int
CGContextSetFont (gcontext, font->cgfont);
CGContextSetFontSize (gcontext, font->size);
- if (ns_antialias_text == NO || font->size <= ns_antialias_threshold)
+ if (ns_antialias_text == Qnil || font->size <= ns_antialias_threshold)
CGContextSetShouldAntialias (gcontext, 0);
else
CGContextSetShouldAntialias (gcontext, 1);
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2478
; Package
emacs
.
(Thu, 26 Feb 2009 15:35:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Thu, 26 Feb 2009 15:35:03 GMT)
Full text and
rfc822 format available.
Message #10 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
> --- a/src/nsfont.m
> +++ b/src/nsfont.m
> @@ -1053,7 +1053,7 @@ nsfont_draw (struct glyph_string *s, int from, int to, int
> CGContextSetFont (gcontext, font->cgfont);
> CGContextSetFontSize (gcontext, font->size);
> - if (ns_antialias_text == NO || font->size <= ns_antialias_threshold)
> + if (ns_antialias_text == Qnil || font->size <= ns_antialias_threshold)
> CGContextSetShouldAntialias (gcontext, 0);
> else
> CGContextSetShouldAntialias (gcontext, 1);
If someone could try and compile the Emacs.app port
with -DUSE_LISP_UNION_TYPE, this bug (and probably several others) would
get caught during compilation.
Stefan
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2478
; Package
emacs
.
(Thu, 26 Feb 2009 15:35:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Thu, 26 Feb 2009 15:35:04 GMT)
Full text and
rfc822 format available.
bug reassigned from package `emacs' to `emacs,ns'.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Thu, 26 Feb 2009 19:45:05 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
:
bug#2478
; Package
emacs,ns
.
(Wed, 04 Mar 2009 21:30:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Adrian Robert <adrian.b.robert <at> gmail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
.
(Wed, 04 Mar 2009 21:30:03 GMT)
Full text and
rfc822 format available.
Message #22 received at 2478 <at> emacsbugs.donarmstrong.com (full text, mbox):
Thanks, I've applied the patch, leaving bug report open as a reminder
to try this UNION_TYPE as suggested.
-Adrian
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
:
bug#2478
; Package
emacs,ns
.
(Thu, 05 Mar 2009 03:55:04 GMT)
Full text and
rfc822 format available.
Message #25 received at 2478 <at> emacsbugs.donarmstrong.com (full text, mbox):
Nikolaj Schumacher wrote:
> A fix is included.
With this, you have seven "tiny changes". You should complete a
copyright assignment before contributing more.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
:
bug#2478
; Package
emacs,ns
.
(Fri, 06 Mar 2009 15:25:07 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Adrian Robert <adrian.b.robert <at> gmail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
.
(Fri, 06 Mar 2009 15:25:07 GMT)
Full text and
rfc822 format available.
Message #30 received at 2478 <at> emacsbugs.donarmstrong.com (full text, mbox):
> If someone could try and compile the Emacs.app port
> with -DUSE_LISP_UNION_TYPE, this bug (and probably several others)
> would
> get caught during compilation.
I just tried this and found errors in core files relating to
specification of Lisp_Object arguments as "register" variables. I'm
not sure the compiler complaint is specific to the version of gcc on
OS X (4.0.1)?
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/arobert/src/EmacsApp/
emacs/src -I/usr/X11R6/include -Dtemacs -g -O2 -Wno-pointer-sign -
DUSE_LISP_UNION_TYPE frame.c
frame.c: In function 'delete_frame':
frame.c:1505: error: address of register variable 'force' requested
make: *** [frame.o] Error 1
make: *** Waiting for unfinished jobs....
Then I got an error in nsterm that I can't make sense of:
nsterm.m: In function 'ns_term_init':
nsterm.m:3897: error: incompatible types in assignment
This line is a simple call to a DEFUN taking one arg:
Lisp_Object color_file, color_map, color;
...
color_map = Fx_load_color_file (color_file);
Reply sent
to
Adrian Robert <adrian.b.robert <at> gmail.com>
:
You have taken responsibility.
(Sun, 31 May 2009 05:55:06 GMT)
Full text and
rfc822 format available.
Notification sent
to
Nikolaj Schumacher <me <at> nschum.de>
:
bug acknowledged by developer.
(Sun, 31 May 2009 05:55:06 GMT)
Full text and
rfc822 format available.
Message #35 received at 2478-done <at> emacsbugs.donarmstrong.com (full text, mbox):
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Sun, 28 Jun 2009 14:24:10 GMT)
Full text and
rfc822 format available.
This bug report was last modified 16 years and 52 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.