From xemacs-m  Mon Mar 17 14:13:47 1997
Received: from black-ice.cc.vt.edu (root@black-ice.cc.vt.edu [128.173.14.71])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id OAA13807
	for <xemacs-beta@xemacs.org>; Mon, 17 Mar 1997 14:13:40 -0600 (CST)
Received: from black-ice.cc.vt.edu (valdis@LOCALHOST [127.0.0.1])
	by black-ice.cc.vt.edu (8.8.5/8.8.5) with ESMTP id PAA22374;
	Mon, 17 Mar 1997 15:13:25 -0500
Message-Id: <199703172013.PAA22374@black-ice.cc.vt.edu>
X-Mailer: exmh version 2.0gamma 1/27/96
To: wmperry@aventail.com
Cc: xemacs-beta@xemacs.org
Subject: Re: frame-char-height ? 
In-Reply-To: Your message of "Mon, 17 Mar 1997 11:51:02 PST."
             <199703171951.LAA01958@newman> 
From: Valdis.Kletnieks@vt.edu
X-Url: http://black-ice.cc.vt.edu/~valdis/
References: <199703171951.LAA01958@newman>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="==_Exmh_790176840P";
	micalg=pgp-md5; protocol="application/pgp-signature"
Content-Transfer-Encoding: 7bit
Date: Mon, 17 Mar 1997 15:13:21 -0500

--==_Exmh_790176840P
Content-Type: text/plain; charset=us-ascii

On Mon, 17 Mar 1997 11:51:02 PST, you said:
> (defun frame-char-height (&optional locale)
>   "Height in pixels of a line in the font in frame FRAME.
> If FRAME is omitted, the selected frame is used.
> For a terminal frame, the value is always 1."
>   (font-height (face-font 'default locale)))
> 
> frame-char-width is similar.

Umm.. I have to admit not being familiar with the semantics of this,
but it *looks* a tad fishy to me.  'char-width' in particular may
be a zoo if you're using a proportional-spaced font (which I believe
isnt supported under GNUmacs).

I'm also not sure what 'frame-char-height' is supposed to *tell* you,
given that a frame may have a lot of different fonts in it, and possibly
not have any text actually displayed in whatever the *default* font is...

Or am I confoozled about what problem this function is intended to solve?

-- 
				Valdis Kletnieks
				Computer Systems Engineer
				Virginia Tech



--==_Exmh_790176840P
Content-Type: application/pgp-signature

-----BEGIN PGP MESSAGE-----
Version: 2.6.2

iQCVAwUBMy2l3tQBOOoptg9JAQEJAQP/SvfgDI+QSo8gQ8InJEyQsW2yXGtf8wPU
3TSQcvX3xlMVQD0fuRZOYTrGF439+qIkr8vrTJcAL5EKZZESa2LBJZUucwf75jbz
bbMeh3K9iCqbW747X2TEXijlJp6ju+UWZ6tt4TsFGV5lfDG1EnRIRGdtUTlBhzJu
iT196OFnCuE=
=WQYH
-----END PGP MESSAGE-----

--==_Exmh_790176840P--

