unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: David Reitter <dreitter@inf.ed.ac.uk>, 484@emacsbugs.donarmstrong.com
Cc: Bug-Gnu-Emacs <bug-gnu-emacs@gnu.org>,
	Christoph Ortner <christoph.ortner@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	[thread overview]
Message-ID: <wlej6lng3c.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <116E56BB-B1C5-4579-9CA4-E626AE736FDC@inf.ed.ac.uk>

>>>>> On Wed, 25 Jun 2008 19:23:21 +0100, David Reitter <dreitter@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@math.s.chiba-u.ac.jp







      reply	other threads:[~2008-06-26  1:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-25 18:23 bug#484: Font bug in 22 (Carbon): default "Monaco" has wrong (frame-char-width) David Reitter
2008-06-26  1:24 ` YAMAMOTO Mitsuharu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wlej6lng3c.wl%mituharu@math.s.chiba-u.ac.jp \
    --to=mituharu@math.s.chiba-u.ac.jp \
    --cc=484@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=christoph.ortner@merton.ox.ac.uk \
    --cc=dreitter@inf.ed.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).