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 16:21:31 +0200 Message-ID: <83d09g8hec.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> <8736ac4gc3.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="39887"; 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 15:22:21 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 1jClCf-000AFk-Fz for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 13 Mar 2020 15:22:21 +0100 Original-Received: from localhost ([::1]:59624 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jClCe-00036V-Ds for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 13 Mar 2020 10:22:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44576) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jClCJ-00035q-T8 for help-gnu-emacs@gnu.org; Fri, 13 Mar 2020 10:22:00 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45504) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jClCJ-0003ch-P6 for help-gnu-emacs@gnu.org; Fri, 13 Mar 2020 10:21:59 -0400 Original-Received: from [176.228.60.248] (port=3179 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jClCH-0007Hi-3y for help-gnu-emacs@gnu.org; Fri, 13 Mar 2020 10:21:59 -0400 In-Reply-To: <8736ac4gc3.fsf@osv.gnss.ru> (message from Sergey Organov on Fri, 13 Mar 2020 14:58:04 +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:122577 Archived-At: > From: Sergey Organov > Cc: help-gnu-emacs@gnu.org > Date: Fri, 13 Mar 2020 14:58:04 +0300 > > > Thanks for the recipe. Please go to each "привет" in the test buffer > > and type "C-u C-x =", then show what the *Help* buffer displays for > > each of the two. > > Here are the results: > > --- >8 --- > position: 24 of 60 (38%), column: 23 > character: п (displayed as п) (codepoint 1087, #o2077, #x43f) > preferred 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) > > Character code properties: customize what to show > name: CYRILLIC SMALL LETTER PE > general-category: Ll (Letter, Lowercase) > decomposition: (1087) ('п') > > There are text properties here: > charset windows-1251 > --- >8 --- > position: 54 of 60 (88%), column: 23 > character: п (displayed as п) (codepoint 1087, #o2077, #x43f) > preferred charset: unicode (Unicode (ISO10646)) > code point in charset: 0x043F > 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) > xft:-PfEd-DejaVu Sans Mono-normal-normal-normal-*-15-*-*-*-m-0-iso10646-1 (#x37E) So the windows-1251 charset is displayed by (a non-TrueType) font "Terminus", for some reason. It's a bitmap font, so maybe just uninstalling it will fix your problem. Or did it come with your system's installation OOTB? > Please confirm I need to report a bug based on the above information. Please do, unless you can try the latest pretest of Emacs 27, and the problem doesn't exist there.