From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#31315: wrong font encoding for fallback font Date: Thu, 03 May 2018 22:59:28 +0300 Message-ID: <83vac4o6hr.fsf@gnu.org> References: <83wowmozed.fsf@gnu.org> <20180503.075227.154521786744892904.wl@gnu.org> <83a7tgpr43.fsf@gnu.org> <20180503.210528.278141526929157986.wl@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1525379905 10713 195.159.176.226 (3 May 2018 20:38:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 3 May 2018 20:38:25 +0000 (UTC) Cc: 31315@debbugs.gnu.org To: Werner LEMBERG Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 03 22:38:21 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 1fEKzc-0002jE-9N for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 May 2018 22:38:20 +0200 Original-Received: from localhost ([::1]:58837 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEL1j-0004VA-5k for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 May 2018 16:40:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35484) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEKOe-0003Bg-Th for bug-gnu-emacs@gnu.org; Thu, 03 May 2018 16:00:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fEKOZ-0002iZ-1w for bug-gnu-emacs@gnu.org; Thu, 03 May 2018 16:00:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40701) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fEKOY-0002iQ-UD for bug-gnu-emacs@gnu.org; Thu, 03 May 2018 16:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fEKOY-0003Ar-JB for bug-gnu-emacs@gnu.org; Thu, 03 May 2018 16:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 May 2018 20:00: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.152537759912164 (code B ref 31315); Thu, 03 May 2018 20:00:02 +0000 Original-Received: (at 31315) by debbugs.gnu.org; 3 May 2018 19:59:59 +0000 Original-Received: from localhost ([127.0.0.1]:48598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEKOV-0003A7-0e for submit@debbugs.gnu.org; Thu, 03 May 2018 15:59:59 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEKOS-00039u-UQ for 31315@debbugs.gnu.org; Thu, 03 May 2018 15:59:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fEKOM-0002Wr-Pf for 31315@debbugs.gnu.org; Thu, 03 May 2018 15:59:51 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46648) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEKOF-0002Pf-Oh; Thu, 03 May 2018 15:59:43 -0400 Original-Received: from [176.228.60.248] (port=2543 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fEKOD-0007CW-RI; Thu, 03 May 2018 15:59:43 -0400 In-reply-to: <20180503.210528.278141526929157986.wl@gnu.org> (message from Werner LEMBERG on Thu, 03 May 2018 21:05:28 +0200 (CEST)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:145993 Archived-At: > Date: Thu, 03 May 2018 21:05:28 +0200 (CEST) > Cc: handa@gnu.org, 31315@debbugs.gnu.org > From: Werner LEMBERG > > > May I invite you to work on revisiting the design and implementation > > of the Emacs font-look up facilities, and on modernizing them? I'm > > afraid we didn't have an active developer in this area for several > > years, and I fear that we will stagnate (or already are stagnating). > > Alas, my Elisp knowledge is ... well ... not impressive. Basically, > I'm just an Emacs user, not an Emacs developer. Almost all of the relevant code is in C, not in Lisp. > With Xft, there is no possibility for improvement IMHO. The probably > best choice is to switch to Pango for font access (in case you don't > do that already). There are several back-ends besides Xft, the most advanced being xftfont.c. They all didn't see any serious development for the past several years. And yes, acquiring new back-ends is also a worthy goal. All of that requires a level of expertise that IMO we currently don't have. > An Emacs charset essentially triggers a language and script setting, > and those two parameters can be passed to Pango, AFAIK. Emacs handles charsets and scripts separately. A script is matched against OTF/TTF features of fonts to make sure the necessary shaping features required by a script are supported.