From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: bug#14648: 24.3.50; `font' frame parameter bizarreness Date: Tue, 18 Jun 2013 11:17:04 -0400 Message-ID: References: <5254f82d-9d1e-448c-83b1-17f87b64aa7b@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1371568694 12845 80.91.229.3 (18 Jun 2013 15:18:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Jun 2013 15:18:14 +0000 (UTC) Cc: 14648@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 18 17:18:14 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uoxfh-0003lf-A6 for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Jun 2013 17:18:13 +0200 Original-Received: from localhost ([::1]:55074 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uoxfg-0002pv-Pw for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Jun 2013 11:18:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoxfY-0002hV-8I for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2013 11:18:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UoxfX-0000ON-0l for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2013 11:18:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58952) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoxfW-0000OJ-To for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2013 11:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UoxfW-0005MU-H8 for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2013 11:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kenichi Handa Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Jun 2013 15:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14648 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14648-submit@debbugs.gnu.org id=B14648.137156862820502 (code B ref 14648); Tue, 18 Jun 2013 15:18:02 +0000 Original-Received: (at 14648) by debbugs.gnu.org; 18 Jun 2013 15:17:08 +0000 Original-Received: from localhost ([127.0.0.1]:53267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uoxec-0005Kb-Vo for submit@debbugs.gnu.org; Tue, 18 Jun 2013 11:17:07 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:43104 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uoxea-0005KQ-PN for 14648@debbugs.gnu.org; Tue, 18 Jun 2013 11:17:05 -0400 Original-Received: from handa by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Uoxea-0005Ny-5k; Tue, 18 Jun 2013 11:17:04 -0400 In-Reply-To: <5254f82d-9d1e-448c-83b1-17f87b64aa7b@default> (message from Drew Adams on Mon, 17 Jun 2013 22:49:09 -0700 (PDT)) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:75287 Archived-At: In article <5254f82d-9d1e-448c-83b1-17f87b64aa7b@default>, Drew Adams writes: > emacs -Q > (modify-frame-parameters > (selected-frame) > '((font . "-outline-Gabriola-normal-normal-normal-decorative"))) > Note that the font string here is not a valid XFLD, but it has the > first > 6 fields of a valid XFLD. If it were suffixed by "-*-*-*-*-*-*-*-*" > then the value would be a valid XFLD (and the bug described below > would > not be realized - things work correctly). > The font of the frame is indeed changed, but not to the font > specified, > and not to the default font either (e.g., the font for face > `default'). Thank you for the report. I've just installed a fix to signal an error for an invalid font name in such a case. > (frame-parameter nil 'font) => > "-outline-Arial-normal-normal-normal-sans-20-*-*-*-p-*-iso8859-1" > What's that? The doc says nothing about this bizarre behavior. > Where did this font come from? It may be the default font found on your system when none of font property is specified. --- Kenichi Handa handa@gnu.org