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

From: YAMAMOTO Mitsuharu <[email-masked]>
Date: Thu, 26 Jun 2008 10:24:23 +0900

>>>>> On Wed, 25 Jun 2008 19:23:21 +0100, David Reitter <[email-masked]> 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
				[email-masked]