GNU bug report logs - #484
Font bug in 22 (Carbon): default "Monaco" has wrong (frame-char-width)

Previous Next

Package: emacs22;

Reported by: David Reitter <dreitter <at> inf.ed.ac.uk>

Date: Wed, 25 Jun 2008 18:30:03 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
To: David Reitter <dreitter <at> inf.ed.ac.uk>, 484 <at> debbugs.gnu.org
Cc: Bug-Gnu-Emacs <bug-gnu-emacs <at> gnu.org>,
        Christoph Ortner <christoph.ortner <at> merton.ox.ac.uk>
Subject: bug#484: Font bug in 22 (Carbon): default "Monaco" has wrong	(frame-char-width)
Date: Thu, 26 Jun 2008 10:24:23 +0900
>>>>> On Wed, 25 Jun 2008 19:23:21 +0100, David Reitter <dreitter <at> inf.ed.ac.uk> said:

> I think there's a font bug in Emacs 22 (CVS), Carbon.

> To reproduce:

> Start Emacs -Q
> (frame-width)  (evaluates to 80)
> (frame-char-width)  (evaluates to 7)
> (mac-font-panel-mode)
> [select 14pt  in the default Monaco font]   (note that the frame does  
> not resize in width)

> (frame-width)  (evaluates to 80  - wrong!)
> (frame-char-width)  (evaluates to 7 - wrong!)

At least the latter result is wrong, and it seems to be due to a bug
in ATSUI on Mac OS X 10.5 (Mac OS X 10.4 correctly reports it as 8).
You can observe that the width of the character "E" in Monaco 14 is
narrower than that of other characters.  I'll report it to Apple.

				     YAMAMOTO Mitsuharu
				mituharu <at> math.s.chiba-u.ac.jp





This bug report was last modified 14 years and 84 days ago.

Previous Next


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