From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: How to enforce unicode font for all charsets? Date: Fri, 13 Mar 2020 17:54:31 +0200 Message-ID: <835zf88d3c.fsf@gnu.org> References: <874kuwphsz.fsf@osv.gnss.ru> <83wo7s9sgt.fsf@gnu.org> <87a74niii8.fsf@osv.gnss.ru> <83blp2aldx.fsf@gnu.org> <87wo7qqd2m.fsf@osv.gnss.ru> <83eetxsj6k.fsf@gnu.org> <87sgicbvis.fsf@osv.gnss.ru> <83r1xw8vyu.fsf@gnu.org> <87d09gwe4o.fsf@osv.gnss.ru> <837dzo8gps.fsf@gnu.org> <87pndgtidg.fsf@osv.gnss.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="9934"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 13 16:54:54 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jCmeE-0002TR-9o for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 13 Mar 2020 16:54:54 +0100 Original-Received: from localhost ([::1]:33240 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCmeD-0005vV-9R for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 13 Mar 2020 11:54:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36345) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCmdu-0005s2-EO for help-gnu-emacs@gnu.org; Fri, 13 Mar 2020 11:54:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47430) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jCmdu-0006Bc-AN for help-gnu-emacs@gnu.org; Fri, 13 Mar 2020 11:54:34 -0400 Original-Received: from [176.228.60.248] (port=4990 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jCmdt-00016u-Np for help-gnu-emacs@gnu.org; Fri, 13 Mar 2020 11:54:34 -0400 In-Reply-To: <87pndgtidg.fsf@osv.gnss.ru> (message from Sergey Organov on Fri, 13 Mar 2020 17:54:51 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122581 Archived-At: > From: Sergey Organov > Cc: help-gnu-emacs@gnu.org > Date: Fri, 13 Mar 2020 17:54:51 +0300 > > > Is the snapshot you installed using the HarfBuzz library? (If it > > does, you should see it in the output of "C-u C-x =".) If it doesn't, > > please try a build that does use HarfBuzz, which is now the default > > font backend in Emacs, before you decide that the issue still exists > > in the latest codebase. > > I didn't built it myself and have no idea what HarfBuzz is, here is the > output of "C-u C-x =": > > --- >8 --- > position: 24 of 60 (38%), column: 23 > character: п (displayed as п) (codepoint 1087, #o2077, #x43f) > charset: windows-1251 (WINDOWS-1251 (Cyrillic)) > code point in charset: 0xEF > script: cyrillic > syntax: w which means: word > category: .:Base, L:Left-to-right (strong), Y:2-byte Cyrillic, c:Chinese, h:Korean, j:Japanese, y:Cyrillic > to input: type "C-x 8 RET 43f" or "C-x 8 RET CYRILLIC SMALL LETTER PE" > buffer code: #xD0 #xBF > file code: #xD0 #xBF (encoded by coding system utf-8-unix) > display: by this font (glyph code) > x:-xos4-terminus-medium-r-normal--16-160-72-72-c-80-microsoft-cp1251 (#xEF) The output for the other string, the one with the 'unicode' charset, is the telltale sign. It shouldn't show "xft" before the font name. Also, system-configuration-features should include "HARFBUZZ" if Emacs was built with HarfBuzz.