From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Sergey Organov Newsgroups: gmane.emacs.help Subject: Re: How to enforce unicode font for all charsets? Date: Fri, 13 Mar 2020 19:38:04 +0300 Message-ID: <87eetwtdlf.fsf@osv.gnss.ru> 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> <835zf88d3c.fsf@gnu.org> 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="112928"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 13 17:38:36 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 1jCnKW-000THH-RQ for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 13 Mar 2020 17:38:36 +0100 Original-Received: from localhost ([::1]:33928 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCnKV-0005eV-Sv for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 13 Mar 2020 12:38:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37960) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCnK6-0005bC-0p for help-gnu-emacs@gnu.org; Fri, 13 Mar 2020 12:38:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCnK4-00073M-Vb for help-gnu-emacs@gnu.org; Fri, 13 Mar 2020 12:38:09 -0400 Original-Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]:42289) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jCnK4-000709-Ob; Fri, 13 Mar 2020 12:38:08 -0400 Original-Received: by mail-lf1-x131.google.com with SMTP id t21so8388501lfe.9; Fri, 13 Mar 2020 09:38:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=Um6m39kDSE6U81H+dZsVUmUbE+Bt6AvyKy/oqCPHt8E=; b=NyEpmIPtwj7RjHqyNZxjhJyHIAimFdIlYgrL3kgJvfs8pEdDWRmBZZh9p/l293xo9q NbCDMI/iJEVV2uSLsLRgMuW9TDaLCpj3OI+O47QAjFzvr7EnC4dMlQNWojFAWQU7Wlp7 fB97QDLKdpOhhwHhIwDmAqt2qcD+xRCJ8jCD40mKDc4alAKSl6khUeqWqJ+x2zZqh2bv uPV9DhLvfEb3HWlxIc0tcKUjPmnYSE0kQ7Ua9ziNb9IoUIzzFCDNHqsdwihSJsr3Thof oQuB7XID2wFsXRf94ew6aawdcKtZNbDxwERAMpH2J+BURSvugUbKRK5cFL/XQti0YsYh I0IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=Um6m39kDSE6U81H+dZsVUmUbE+Bt6AvyKy/oqCPHt8E=; b=Fu6zFXF46Lv1t44RprwOokudyWpE7596U/eeXm7t8W2N5wl8K27P/yZGeoQAMSB9cl omuH/kNg1glNbvLQ6lGkI1Wk63DiQkgzyaqHJvaguJKCWOhZsO/QlodiFkqoXSj7bH8D 9H2xLBkr7+dhXwPiQOAGz4cqBEUoWppezghQY4KkR/vFdlIgd0YBTQuLwkO+tHsDLnc9 5kMAsVrnaZ1cnDJ7j855+vUtQ5TiTlatAsnlxIuW+gaFiLwfp5bQENOFvbYj+A3xD0lC c6jwq+TLxjsLMU6cfHpR96XeR7h91lqlpd+AxJduG3XjBp3pzcEfF0cq4uIFUkqiJ3bj fj3g== X-Gm-Message-State: ANhLgQ0mb6ia8LoedjpOdY4OvTvyYD5zGfisOEBMq5FsIWwqQHvgrtKF 2XA3wMK/PciYDSF9aw2anmSTYL5B X-Google-Smtp-Source: ADFU+vv9LREh81ecw7PE4uKpuaX4SyYU2vse6ldGmVM9CjnxsurkhHQC7Z1fPffcER5QRIv9zepS2w== X-Received: by 2002:a19:f601:: with SMTP id x1mr7321193lfe.55.1584117486870; Fri, 13 Mar 2020 09:38:06 -0700 (PDT) Original-Received: from osv.localdomain ([89.175.180.246]) by smtp.gmail.com with ESMTPSA id i18sm29494820lfe.15.2020.03.13.09.38.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Mar 2020 09:38:05 -0700 (PDT) In-Reply-To: <835zf88d3c.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 13 Mar 2020 17:54:31 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::131 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:122585 Archived-At: Eli Zaretskii writes: >> 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. It shows: ftcrhb:-PfEd-DejaVu Sans Mono-normal-normal-normal-*-15-*-*-*-m-0-iso10646-1 (#x37E) so it must be HarfBuzz? > Also, system-configuration-features should include "HARFBUZZ" if Emacs > was built with HarfBuzz. system-configuration-features is a variable defined in ‘C source code’. Its value is "XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS PDUMPER LCMS2 GMP" Yeah, it is. -- Sergey