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

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

bug#2478: 23.0.91; font antialiasing switch in nextstep broken


From: Stefan Monnier
Subject: bug#2478: 23.0.91; font antialiasing switch in nextstep broken
Date: Thu, 26 Feb 2009 10:26:17 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux)

> --- 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






reply via email to

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