From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.help Subject: face-variable-width-p? Date: Wed, 6 Feb 2008 12:19:17 +0000 Message-ID: <55187009-C105-4A5C-A6E1-CCB347A0D435@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v915) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1202308697 13909 80.91.229.12 (6 Feb 2008 14:38:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Feb 2008 14:38:17 +0000 (UTC) To: gnu emacs-help gnu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 06 15:38:30 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JMlPx-0003se-5a for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Feb 2008 15:38:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMlPU-0007Of-Lz for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Feb 2008 09:38:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JMjFO-0002P8-Qu for help-gnu-emacs@gnu.org; Wed, 06 Feb 2008 07:19:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JMjFN-0002OO-32 for help-gnu-emacs@gnu.org; Wed, 06 Feb 2008 07:19:26 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMjFM-0002OL-TZ for help-gnu-emacs@gnu.org; Wed, 06 Feb 2008 07:19:24 -0500 Original-Received: from ug-out-1314.google.com ([66.249.92.173]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JMjFM-0005Ww-Sh for help-gnu-emacs@gnu.org; Wed, 06 Feb 2008 07:19:25 -0500 Original-Received: by ug-out-1314.google.com with SMTP id a2so416733ugf.48 for ; Wed, 06 Feb 2008 04:19:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:content-type:content-transfer-encoding:mime-version:subject:date:x-mailer; bh=pJkx30ZAPogq/JvdrnGei4UxqsOppImE2UMG0aLXrcs=; b=FO1bACR+jqaxkoZobONwuh2D9HBZ19bKhyYWFTw8bSsM0HrvaBGOnis9/7dFfwrxxJpWmJSqb1IGGa9A0Nu7/bbNSLScyDUqw9SXpyOBrMYRobfpzVuj4oDZP260NlZyG4/tIoq2pA2tgHnEbFepV1FYBpNvoL+x5FBcHCpU+hc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding:mime-version:subject:date:x-mailer; b=LtKUBVRoPrFj9ynO6HgC4xapRko/OVbuCsANxVL1P8s/+2oyWTcZrCTP6QQF2KaC1P+DFvzYrL5+NhgVRBQYKej1cmvGrSsxSLo9+HTajsboxgOlTIEX1K5sk1lmmjjDbkEZLuuZ/SWg+/a6ZpAF2hLKbTLtkXIsxog2LeJvqxs= Original-Received: by 10.66.255.7 with SMTP id c7mr2559162ugi.43.1202300360862; Wed, 06 Feb 2008 04:19:20 -0800 (PST) Original-Received: from scarlett.inf.ed.ac.uk ( [129.215.174.113]) by mx.google.com with ESMTPS id 27sm6123654ugp.19.2008.02.06.04.19.19 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 06 Feb 2008 04:19:20 -0800 (PST) X-Mailer: Apple Mail (2.915) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 06 Feb 2008 09:34:41 -0500 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:51252 Archived-At: I'm trying to figure out whether a given face (the default face in a frame, to be precise) uses a variable width font, but I can't find an appropriate function in Emacs. One could compare the pixel widths of 'w' and 'i', but I can't find a function that would give me the pixel width of a (propertized) string, either. Any suggestions?