GNU bug report logs - #3834
23.0.96; font rendering issue on Mac OS X

Previous Next

Packages: ns, emacs;

Reported by: Greg Jednaszewski <gjednaszewski <at> racemi.com>

Date: Mon, 13 Jul 2009 03:00: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 3834 in the body.
You can then email your comments to 3834 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3834; Package emacs. (Mon, 13 Jul 2009 03:00:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Greg Jednaszewski <gjednaszewski <at> racemi.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 13 Jul 2009 03:00:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Greg Jednaszewski <gjednaszewski <at> racemi.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.96; font rendering issue on Mac OS X
Date: Sun, 12 Jul 2009 22:54:38 -0400
I use the 'Terminus' font in emacs, and it seems that starting with
23.0.95 (and 23.0.96 as well), emacs always wants to render the font in
bold.  It looked perfect in 23.0.94, so something has changed since
then.

Here is a screenshot of the correct font rendering in 23.0.94.  The
buffer name on the modeline is properly bold, everything else is medium:
http://attenuated.org/emacs/emacs-23.0.94.png

Here is a screenshot of the incorrect font rendering in 23.0.96:
http://attenuated.org/emacs/emacs-23.0.96.png

Here is a copy of the font for reference:
http://antihe.ro/misc/TerminusMedium.dfont

As can be seen from the screenshot, I am setting the font with:
(set-face-attribute 'default nil :family "terminus" :height 140)

Let me know if more information is needed.

Thanks,
Greg

----

In GNU Emacs 23.0.96.1 (i386-apple-darwin9.7.0, NS apple-appkit-949.46)
 of 2009-07-11 on black.local
Windowing system distributor `Apple', version 10.3.949
configured using `configure  '--with-ns''

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
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  delete-selection-mode: t
  show-paren-mode: t
  auto-insert-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x r e o <backspace> p o r t - e m a c s - b u <tab>
<tab> <tab> <return>

Recent messages:
Source file `/Users/greg/.emacs.d/swbuff.el' newer than byte-compiled  
file
Source file `/Users/greg/.emacs.d/eol-conversion.el' newer than byte- 
compiled file
Loading /Users/greg/.emacs.d/light-symbol.el (source)...done
Loading /Users/greg/.emacs.d/auto-reload.el (source)...done
Loading /Users/greg/.emacs.d/themes/color-theme-dark-blue3.el  
(source)...done
Loading /Users/greg/.emacs.d/themes/color-theme-library.el  
(source)...done
Loading /Users/greg/.emacs.d/themes/color-theme-wombat.el  
(source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3834; Package emacs. (Mon, 13 Jul 2009 07:15:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kenichi Handa <handa <at> m17n.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 13 Jul 2009 07:15:04 GMT) Full text and rfc822 format available.

Message #10 received at 3834 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Kenichi Handa <handa <at> m17n.org>
To: Greg Jednaszewski <gjednaszewski <at> racemi.com>,
        3834 <at> debbugs.gnu.org
Subject: Re: bug#3834: 23.0.96; font rendering issue on Mac OS X
Date: Mon, 13 Jul 2009 16:10:48 +0900
In article <58EC93C1-DF49-4265-99E6-C92DBFF4DB93 <at> racemi.com>, Greg Jednaszewski <gjednaszewski <at> racemi.com> writes:

> I use the 'Terminus' font in emacs, and it seems that starting with
> 23.0.95 (and 23.0.96 as well), emacs always wants to render the font in
> bold.  It looked perfect in 23.0.94, so something has changed since
> then.

I can't reproduce it on GNU/Linux.  I tried to use terminus
font both as X core font and as Xft font.  In both cases,
Emacs uses correct styles of terminus fonts.

> In GNU Emacs 23.0.96.1 (i386-apple-darwin9.7.0, NS apple-appkit-949.46)
>   of 2009-07-11 on black.local
> Windowing system distributor `Apple', version 10.3.949
> configured using `configure  '--with-ns''

I suspect it's a Mac specific problem.

---
Kenichi Handa
handa <at> m17n.org



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3834; Package emacs. (Tue, 14 Jul 2009 14:55:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 14 Jul 2009 14:55:07 GMT) Full text and rfc822 format available.

Message #15 received at 3834 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Adrian Robert  <Adrian.B.Robert <at> gmail.com>
Cc: 3834 <at> debbugs.gnu.org,
        Greg Jednaszewski <gjednaszewski <at> racemi.com>
Subject: Re: 23.0.96; font rendering issue on Mac OS X
Date: Tue, 14 Jul 2009 10:51:17 -0400
Hi Adrian,

Could you take a look at this bug report as soon as you can?  Thanks.

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3834

> I use the 'Terminus' font in emacs, and it seems that starting with
> 23.0.95 (and 23.0.96 as well), emacs always wants to render the font in
> bold.  It looked perfect in 23.0.94, so something has changed since
> then.
>
> Here is a screenshot of the correct font rendering in 23.0.94.  The
> buffer name on the modeline is properly bold, everything else is medium:
> http://attenuated.org/emacs/emacs-23.0.94.png
>
> Here is a screenshot of the incorrect font rendering in 23.0.96:
> http://attenuated.org/emacs/emacs-23.0.96.png
>
> Here is a copy of the font for reference:
> http://antihe.ro/misc/TerminusMedium.dfont
>
> As can be seen from the screenshot, I am setting the font with:
> (set-face-attribute 'default nil :family "terminus" :height 140)



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3834; Package emacs. (Tue, 14 Jul 2009 16:25:05 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>. (Tue, 14 Jul 2009 16:25:06 GMT) Full text and rfc822 format available.

Message #20 received at 3834 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Adrian Robert <adrian.b.robert <at> gmail.com>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 3834 <at> debbugs.gnu.org,
        Greg Jednaszewski <gjednaszewski <at> racemi.com>
Subject: Re: 23.0.96; font rendering issue on Mac OS X
Date: Tue, 14 Jul 2009 12:12:56 -0400
I checked in a fix to the branch.  If it resolves the issue I'll copy  
it to the trunk as well.



On Jul 14, 2009, at 10:51 AM, Chong Yidong wrote:

> Hi Adrian,
>
> Could you take a look at this bug report as soon as you can?  Thanks.
>
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3834
>
>> I use the 'Terminus' font in emacs, and it seems that starting with
>> 23.0.95 (and 23.0.96 as well), emacs always wants to render the  
>> font in
>> bold.  It looked perfect in 23.0.94, so something has changed since
>> then.
>>
>> Here is a screenshot of the correct font rendering in 23.0.94.  The
>> buffer name on the modeline is properly bold, everything else is  
>> medium:
>> http://attenuated.org/emacs/emacs-23.0.94.png
>>
>> Here is a screenshot of the incorrect font rendering in 23.0.96:
>> http://attenuated.org/emacs/emacs-23.0.96.png
>>
>> Here is a copy of the font for reference:
>> http://antihe.ro/misc/TerminusMedium.dfont
>>
>> As can be seen from the screenshot, I am setting the font with:
>> (set-face-attribute 'default nil :family "terminus" :height 140)




bug reassigned from package `emacs' to `emacs,ns'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Tue, 14 Jul 2009 18:25:07 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#3834; Package emacs,ns. (Tue, 14 Jul 2009 19:00:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Greg Jednaszewski <gjednaszewski <at> racemi.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. (Tue, 14 Jul 2009 19:00:05 GMT) Full text and rfc822 format available.

Message #27 received at 3834 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Greg Jednaszewski <gjednaszewski <at> racemi.com>
To: Adrian Robert <Adrian.B.Robert <at> gmail.com>
Cc: Chong Yidong <cyd <at> stupidchicken.com>, 3834 <at> debbugs.gnu.org
Subject: Re: 23.0.96; font rendering issue on Mac OS X
Date: Tue, 14 Jul 2009 14:59:08 -0400
Thanks for taking a look and making a fix.  I'd be happy to test it,  
but I haven't been building it myself.  I've been grabbing the  
pretests from here:
http://porkrind.org/emacs/

If you can provide a build or point me at some instructions on how to  
build it myself, I'll verify the fix.

Thanks,
Greg

On Jul 14, 2009, at 12:12 PM, Adrian Robert wrote:

> I checked in a fix to the branch.  If it resolves the issue I'll  
> copy it to the trunk as well.
>
>
>
> On Jul 14, 2009, at 10:51 AM, Chong Yidong wrote:
>
>> Hi Adrian,
>>
>> Could you take a look at this bug report as soon as you can?  Thanks.
>>
>> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3834
>>
>>> I use the 'Terminus' font in emacs, and it seems that starting with
>>> 23.0.95 (and 23.0.96 as well), emacs always wants to render the  
>>> font in
>>> bold.  It looked perfect in 23.0.94, so something has changed since
>>> then.
>>>
>>> Here is a screenshot of the correct font rendering in 23.0.94.  The
>>> buffer name on the modeline is properly bold, everything else is  
>>> medium:
>>> http://attenuated.org/emacs/emacs-23.0.94.png
>>>
>>> Here is a screenshot of the incorrect font rendering in 23.0.96:
>>> http://attenuated.org/emacs/emacs-23.0.96.png
>>>
>>> Here is a copy of the font for reference:
>>> http://antihe.ro/misc/TerminusMedium.dfont
>>>
>>> As can be seen from the screenshot, I am setting the font with:
>>> (set-face-attribute 'default nil :family "terminus" :height 140)
>
>




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#3834; Package emacs,ns. (Thu, 16 Jul 2009 13:35:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Greg Jednaszewski <gjednaszewski <at> racemi.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. (Thu, 16 Jul 2009 13:35:04 GMT) Full text and rfc822 format available.

Message #32 received at 3834 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Greg Jednaszewski <gjednaszewski <at> racemi.com>
To: Adrian Robert <Adrian.B.Robert <at> gmail.com>, 3834 <at> debbugs.gnu.org
Subject: Re: 23.0.96; font rendering issue on Mac OS X
Date: Thu, 16 Jul 2009 09:30:32 -0400
[Message part 1 (text/plain, inline)]
On Jul 15, 2009, at 10:55 PM, Adrian Robert wrote:

>
> On Jul 14, 2009, at 2:59 PM, Greg Jednaszewski wrote:
>
>> Thanks for taking a look and making a fix.  I'd be happy to test  
>> it, but I haven't been building it myself.  I've been grabbing the  
>> pretests from here:
>> http://porkrind.org/emacs/
>>
>> If you can provide a build or point me at some instructions on how  
>> to build it myself, I'll verify the fix.
>
> Hi,
>
> Er, I'm not sure if the porkrind CVS snapshots are coming from the  
> branch or the trunk.  If trunk, you would need to build yourself --  
> just './configure --with-ns ; make ; make install' to make a self- 
> contained app under nextstep/ , but you would have to have the OS X  
> dev tools installed.

I think the porkrind nightly builds are the trunk, so  I checked out  
the source like this:
cvs -z3 -d:pserver:anonymous <at> cvs.savannah.gnu.org:/sources/emacs co -r  
EMACS_23_1_RC emacs

The configure and build went smoothly:
GNU Emacs 23.0.96.1 (i386-apple-darwin9.7.0, NS apple-appkit-949.46)  
of 2009-07-16 on osiris.local

The fonts are rendered correctly.  The change you made seems to have  
done the trick.  Thanks again.

Greg
[Message part 2 (text/html, inline)]

Reply sent to Adrian Robert <adrian.b.robert <at> gmail.com>:
You have taken responsibility. (Thu, 23 Jul 2009 12:10:21 GMT) Full text and rfc822 format available.

Notification sent to Greg Jednaszewski <gjednaszewski <at> racemi.com>:
bug acknowledged by developer. (Thu, 23 Jul 2009 12:10:22 GMT) Full text and rfc822 format available.

Message #37 received at 3834-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Adrian Robert <adrian.b.robert <at> gmail.com>
To: 3834-done <at> debbugs.gnu.org
Date: Thu, 23 Jul 2009 08:06:35 -0400
Closing, fixed and OP verified.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#3834; Package emacs,ns. (Wed, 29 Jul 2009 14:00:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Konstantin Lepa <konstantin.lepa <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, 29 Jul 2009 14:00:07 GMT) Full text and rfc822 format available.

Message #42 received at 3834 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Konstantin Lepa <konstantin.lepa <at> gmail.com>
To: 3834 <at> debbugs.gnu.org
Subject: [Emacs-2009-07-28]; font rendering issue on Mac OS X. Russian fonts
Date: Wed, 29 Jul 2009 17:55:18 +0400
[Message part 1 (text/plain, inline)]
> Closing, fixed and OP verified.

Hi. I'm using terminus font too. But it works incorrectly for russian  
symbols.
See attachments.

Stable emacs (22.3):
[emacs_22_3_stable.png (image/png, inline)]
[Message part 3 (text/plain, inline)]



Emacs (cvs 2009-07-28):
[emacs_cvs_2009_07_28.png (image/png, inline)]
[Message part 5 (text/plain, inline)]


Konstantin.


Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#3834; Package emacs,ns. (Thu, 30 Jul 2009 08:25:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Konstantin Lepa <konstantin.lepa <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. (Thu, 30 Jul 2009 08:25:07 GMT) Full text and rfc822 format available.

Message #47 received at 3834 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Konstantin Lepa <konstantin.lepa <at> gmail.com>
To: 3834 <at> debbugs.gnu.org
Subject: Mac OS X rendering russian fonts
Date: Thu, 30 Jul 2009 12:18:34 +0400
[Message part 1 (text/plain, inline)]
Hi, I wanna continue the topic. This bug appeared in emacs 23.0.95.  
All fonts were bold. It's fixed in 23.1 for english language only.  
Font broke for russian language.

Emacs version: 23.0.94
Date: 2009-05-01

[emacs_23_0_94.png (image/png, inline)]
[Message part 3 (text/plain, inline)]


Emacs version: 23.1
Date: 2009-07-30

[emacs_23_1.png (image/png, inline)]
[Message part 5 (text/plain, inline)]


Konstantin.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Thu, 27 Aug 2009 14:24:20 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 359 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.