From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#17457: 24.4.50; REGRESSION: "Invalid font name: -outline-Lucida Console-normal-normal-normal-mono" Date: Sun, 11 May 2014 12:23:32 -0700 (PDT) Message-ID: <224c2504-400c-439e-ad89-bb81e82a7b7f@default> References: <> <<83eh01udux.fsf@gnu.org>> <> <<83a9aouwtj.fsf@gnu.org>> <> <<834n0wus9k.fsf@gnu.org>> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1399836275 25405 80.91.229.3 (11 May 2014 19:24:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 May 2014 19:24:35 +0000 (UTC) Cc: 17457@debbugs.gnu.org To: Eli Zaretskii , Drew Adams , Kenichi Handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 11 21:24:24 2014 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 1WjZMG-0004HH-4x for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 May 2014 21:24:24 +0200 Original-Received: from localhost ([::1]:34115 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjZMF-0002So-DT for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 May 2014 15:24:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjZM4-0002Se-AX for bug-gnu-emacs@gnu.org; Sun, 11 May 2014 15:24:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WjZLv-00031A-A1 for bug-gnu-emacs@gnu.org; Sun, 11 May 2014 15:24:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42288) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjZLv-000316-70 for bug-gnu-emacs@gnu.org; Sun, 11 May 2014 15:24:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WjZLu-0004ls-HE for bug-gnu-emacs@gnu.org; Sun, 11 May 2014 15:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 May 2014 19:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17457 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17457-submit@debbugs.gnu.org id=B17457.139983622418306 (code B ref 17457); Sun, 11 May 2014 19:24:02 +0000 Original-Received: (at 17457) by debbugs.gnu.org; 11 May 2014 19:23:44 +0000 Original-Received: from localhost ([127.0.0.1]:59639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WjZLb-0004lB-7f for submit@debbugs.gnu.org; Sun, 11 May 2014 15:23:43 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:20255) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WjZLY-0004km-4E for 17457@debbugs.gnu.org; Sun, 11 May 2014 15:23:40 -0400 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s4BJNXFI023519 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 11 May 2014 19:23:34 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s4BJNUvu028920 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 11 May 2014 19:23:33 GMT Original-Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s4BJNUWQ026745; Sun, 11 May 2014 19:23:30 GMT In-Reply-To: <<834n0wus9k.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6691.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] 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:88927 Archived-At: > > I truncated it because I am not interested in anything except the > > first 6 fields of the XLFD string. >=20 > The right way is to replace the other fields with "*", not chop them > off. I almost added, and will add now, that I think perhaps the reason I did that before passing the font arg to `font-info', was mainly to allow handling of the problematic fonts. I did not realize, however, that they were anyway not being handled correctly that way. They were tolerated, but the returned info was not relevant. > Yes, I think the problem is in that "-ExtB", which I think is part of > the font name, but Emacs's XLFD parser thinks it is a separate field. > Perhaps Handa-san, or someone else who knows more about fonts, could > tell how to handle these font names correctly. It looks like a bug to > me, FWIW. I thought of that, but I don't know how the name should be parsed, to determine that the name field has ended. Perhaps the following field has only a fixed number of possibilities. But then there is (IIRC) the possibility that fields can be missing. IOW, is it perhaps problematic to parse names that contain hyphens? I closed the bug. If appropriate, feel free to open it based on the possibility of a parsing problem.