From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#31315: wrong font encoding for fallback font Date: Mon, 30 Apr 2018 17:42:50 +0200 Message-ID: <87k1sou2dh.fsf@linux-m68k.org> References: <20180430.092106.1639809980149388597.wl@gnu.org> <83a7tksp6b.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1525102881 15174 195.159.176.226 (30 Apr 2018 15:41:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 30 Apr 2018 15:41:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: 31315@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 30 17:41:17 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fDAvU-0003qU-BW for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Apr 2018 17:41:16 +0200 Original-Received: from localhost ([::1]:60274 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fDAxb-0002hr-8g for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Apr 2018 11:43:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fDAxG-0002aL-Lf for bug-gnu-emacs@gnu.org; Mon, 30 Apr 2018 11:43:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fDAxC-0003Qf-JN for bug-gnu-emacs@gnu.org; Mon, 30 Apr 2018 11:43:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36259) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fDAxC-0003QZ-F6 for bug-gnu-emacs@gnu.org; Mon, 30 Apr 2018 11:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fDAxC-0007yS-6R for bug-gnu-emacs@gnu.org; Mon, 30 Apr 2018 11:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Apr 2018 15:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31315 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31315-submit@debbugs.gnu.org id=B31315.152510297530640 (code B ref 31315); Mon, 30 Apr 2018 15:43:02 +0000 Original-Received: (at 31315) by debbugs.gnu.org; 30 Apr 2018 15:42:55 +0000 Original-Received: from localhost ([127.0.0.1]:44156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fDAx5-0007y8-FA for submit@debbugs.gnu.org; Mon, 30 Apr 2018 11:42:55 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:33611) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fDAx2-0007xy-Lw for 31315@debbugs.gnu.org; Mon, 30 Apr 2018 11:42:53 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 40ZTMH3YmLz1qtFb; Mon, 30 Apr 2018 17:42:51 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 40ZTMH2Z0Hz1qqkX; Mon, 30 Apr 2018 17:42:51 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id mvBepcbuLbNv; Mon, 30 Apr 2018 17:42:50 +0200 (CEST) X-Auth-Info: FWyQeDO7E7VZOLh+bUT0ZXeBKXmHabvNdEcbP6B4ZVUCnZgwH6zWy8H+YrNCBc67 Original-Received: from localhost (ppp-188-174-157-16.dynamic.mnet-online.de [188.174.157.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Mon, 30 Apr 2018 17:42:50 +0200 (CEST) Original-Received: by localhost (Postfix, from userid 1000) id 1827C2C3FC5; Mon, 30 Apr 2018 17:42:50 +0200 (CEST) X-Yow: I am KING BOMBA of Sicily!..I will marry LUCILLE BALL next Friday! In-Reply-To: <83a7tksp6b.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 30 Apr 2018 18:13:16 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:145868 Archived-At: On Apr 30 2018, Eli Zaretskii wrote: > If you look in xfont_encode_char, you will see that it does encode the > character before handing it to the font-drawing function. But I see > that font-encoding-alist has this to say about gb18030: > > ("gb18030" unicode) > > Does replacing that with something like this: > > ("gb18030" (gb18030 . unicode)) > > solve the problem? I think it should be gb18030-2-byte, both as encoding and repertory. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."