From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: handa@gnu.org (K. Handa) Newsgroups: gmane.emacs.bugs Subject: bug#16721: 24.3.50; can not use ext font anymore Date: Sat, 15 Feb 2014 00:16:48 +0900 Message-ID: <877g8xpvvj.fsf@gnu.org> References: <874n45zz8k.fsf@tao.kanis.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1392391037 10577 80.91.229.3 (14 Feb 2014 15:17:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Feb 2014 15:17:17 +0000 (UTC) Cc: 16721@debbugs.gnu.org, lekktu@gmail.com To: Ivan Kanis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 14 16:17:23 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 1WEKW0-0006ou-9i for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Feb 2014 16:17:20 +0100 Original-Received: from localhost ([::1]:52305 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEKVz-0002Ef-RD for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Feb 2014 10:17:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEKVk-0001tk-Fv for bug-gnu-emacs@gnu.org; Fri, 14 Feb 2014 10:17:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WEKVi-0002lk-PX for bug-gnu-emacs@gnu.org; Fri, 14 Feb 2014 10:17:04 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51280) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEKVi-0002lc-Ls for bug-gnu-emacs@gnu.org; Fri, 14 Feb 2014 10:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WEKVi-0005CL-Cj for bug-gnu-emacs@gnu.org; Fri, 14 Feb 2014 10:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: handa@gnu.org (K. Handa) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Feb 2014 15:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16721 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16721-submit@debbugs.gnu.org id=B16721.139239101819966 (code B ref 16721); Fri, 14 Feb 2014 15:17:02 +0000 Original-Received: (at 16721) by debbugs.gnu.org; 14 Feb 2014 15:16:58 +0000 Original-Received: from localhost ([127.0.0.1]:52462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WEKVd-0005Bx-5x for submit@debbugs.gnu.org; Fri, 14 Feb 2014 10:16:57 -0500 Original-Received: from fencepost.gnu.org ([208.118.235.10]:46604 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WEKVa-0005Bo-Ji for 16721@debbugs.gnu.org; Fri, 14 Feb 2014 10:16:55 -0500 Original-Received: from fl1-60-237-79-26.iba.mesh.ad.jp ([60.237.79.26]:47634 helo=wanchai) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1WEKVZ-0005la-IL; Fri, 14 Feb 2014 10:16:53 -0500 Original-Received: from handa by wanchai with local (Exim 4.80) (envelope-from ) id 1WEKVV-0006Jh-5G; Sat, 15 Feb 2014 00:16:49 +0900 In-Reply-To: <87eh37f0qy.fsf@tao.kanis.fr> (message from Ivan Kanis on Thu, 13 Feb 2014 17:14:45 +0100) 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:85572 Archived-At: In article <87eh37f0qy.fsf@tao.kanis.fr>, Ivan Kanis writes: > "-unknown-Symbola-normal-normal-semi-condensed-*-20-*-*-*-0-iso10646-1" > Gives me a Font Error. I count 14 elements. Emacs' XLFD parser is stricter than the spec of XLFD. For instance, the possible value of SETWIDTH_NAME field (the 5th one) is one of: undefined ultracondensed extracondensed condensed semicondensed medium semiexpanded expanded extraexpanded ultraexpanded which are "english translation"s of defined reference value for RELATIVE_SETWIDTH property. See: http://www.x.org/releases/X11R7.6/doc/xorg-docs/specs/XLFD/xlfd.html#font_properties So, in the above case, Emacs thinks "semi" is not a valid SETWIDTH_NAME of a font. This strictness is to handle a wildcard "*" matching with multiple fields efficently. For instance, to find a font matching with "*-bold-*", Emacs assumes that "bold" is for WEIGHT_NAME field, and lists fonts whose WEIGHT_NAME field is "bold". This is far faster than getting all font names and check each of them whether it contains "bold" or not. > The font > "xft:-unknown-Symbola-normal-normal-semi-condensed-*-20-*-*-*-*-0-iso10646-1" > Is a copy & paste of what emacs 24.3 report after doing a C-u C-x = Yes, it's a bug, and should be fixed already. --- Kenichi Handa handa@gnu.org