From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.help Subject: Re: Calculate window size in pixels Date: Wed, 11 May 2005 08:36:13 +0200 Message-ID: References: <87u0lgigvl.fsf-monnier+gnu.emacs.help@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1115794330 8256 80.91.229.2 (11 May 2005 06:52:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 11 May 2005 06:52:10 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 11 08:52:09 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DVl4G-00016N-NM for geh-help-gnu-emacs@m.gmane.org; Wed, 11 May 2005 08:51:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DVlCw-0003Ky-JH for geh-help-gnu-emacs@m.gmane.org; Wed, 11 May 2005 03:00:38 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!newsserver.news.garr.it!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 14 Original-X-Trace: individual.net Q8tU6YH5c8zxgPIytnH5TA7Ur433yAFbOucqmWwX0lJmx4pJKF User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:QK5OTvGqBobhpGPWe7q/+ClPLSw= Original-Xref: shelby.stanford.edu gnu.emacs.help:130842 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:26499 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26499 Mathias Dahl writes: >> I think that `frame-char-height' and `frame-char-width' is what you >> are looking for. > That seems to be exactly what I wanted. Strange I missed it. I will > try using that instead and see how it works. It worked very well and feels much better than trying to calculate the pixel/character ratio myself. Thanks again! /Mathias