From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Vladimir Panteleev Newsgroups: gmane.emacs.bugs Subject: bug#24560: 25.1; With `--font 7x13', wrong font is used for Unicode characters Date: Wed, 28 Sep 2016 21:58:20 +0000 Message-ID: <6d2acac2-1134-9182-34c1-b76448872e0b@gmail.com> References: <87zims7zlk.fsf@home.thecybershadow.net> <83shsjok4l.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1475099976 1522 195.159.176.226 (28 Sep 2016 21:59:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 28 Sep 2016 21:59:36 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 Cc: 24560@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 28 23:59:31 2016 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 1bpMsl-0006P5-9H for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Sep 2016 23:59:15 +0200 Original-Received: from localhost ([::1]:33465 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpMsj-0003CB-HT for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Sep 2016 17:59:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpMsd-0003C6-7e for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2016 17:59:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpMsZ-0006Pg-27 for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2016 17:59:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpMsY-0006PY-Uw for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2016 17:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bpMsY-00027a-Gv for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2016 17:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vladimir Panteleev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Sep 2016 21:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24560 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24560-submit@debbugs.gnu.org id=B24560.14750999098113 (code B ref 24560); Wed, 28 Sep 2016 21:59:02 +0000 Original-Received: (at 24560) by debbugs.gnu.org; 28 Sep 2016 21:58:29 +0000 Original-Received: from localhost ([127.0.0.1]:38267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bpMs1-00026n-9c for submit@debbugs.gnu.org; Wed, 28 Sep 2016 17:58:29 -0400 Original-Received: from mail-wm0-f53.google.com ([74.125.82.53]:37207) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bpMs0-00026a-2L for 24560@debbugs.gnu.org; Wed, 28 Sep 2016 17:58:28 -0400 Original-Received: by mail-wm0-f53.google.com with SMTP id b130so96058010wmc.0 for <24560@debbugs.gnu.org>; Wed, 28 Sep 2016 14:58:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=kxKzjZ575G2MLW5quIBreoKVyHp8erN1zoD/VgLblBs=; b=Drlrane1k03u5IUuvFsZmp9DQjnb1a/jFrFAa9y9Y/8eSy4cPq5wd6yO8MhroIGK6G 8BX62KmwwTlwiSwXWd+9BVhmikRNwtAjv1V0bE7F5PvOiKwIC7HG9ac0stlEomTuxvf3 aQOkaV9vyFd9h29HPTaUadbHFvFihpU/qiGGI8egqhDx6rC5ZUEwUxI5mHn9VIT74TmB Weme15+3dCXY+dWNNJvSXpgAtB7mspXWZ4r8Lk2sHAeANpRdD/aGWRyNSVksOaXiEZhE AKG9vwNx2bfySvIw2LrCOfixMV0RlLFfiUCu45h2MvSnuQLXN5T7eTdZnVQJlrAp1x3K /68g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=kxKzjZ575G2MLW5quIBreoKVyHp8erN1zoD/VgLblBs=; b=JSnVG2IPBpVayWxKYcWytfxpDwx/p3/isnmiR+0/U2zwMug7ZZALg8JCLolovGQyv0 LmSK/jVV0HLMwsUImWUjw1Vc1KJwLMw1QDGnX0pnLGPGJXHtk+8st+09jsSdqRUUJR0/ GuXIWBPeGgQ8mqb0r7niSRwugyHLxYHnvG+tSen8zujBB/Ft/pJChMRRMaY7UthzeNFZ aBIYFNaedq0lYNOPWNjb8OMcINsEyUupnEvqy/U2iY+wuJ3hVt4ZPe6HmkbHJ6W6ju78 fctB255c+cLimkgxCYxsGvo8aTiZFw61Peu6W1jW6jWF7sDol7nYWHe65nwv4uRol4jc JEDw== X-Gm-Message-State: AA6/9RmHQDuQVVZkt7caKcMySNcO88/hwS5usXqzfKjmgjuG/KPbLJMOIJNlnhcUXVSagQ== X-Received: by 10.28.92.71 with SMTP id q68mr9559454wmb.85.1475099902202; Wed, 28 Sep 2016 14:58:22 -0700 (PDT) Original-Received: from home.thecybershadow.net ([89.28.117.31]) by smtp.gmail.com with ESMTPSA id r195sm11000878wme.10.2016.09.28.14.58.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Sep 2016 14:58:21 -0700 (PDT) In-Reply-To: <83shsjok4l.fsf@gnu.org> 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:123745 Archived-At: On 2016-09-28 20:16, Eli Zaretskii wrote: > Are you sure the 7x13 font installed on your system supports all those > characters? Emacs won't switch to a different font if the default > font supports the character it needs to display. As I mentioned in my bug report and as is visible in the screenshots, the characters are indeed present in the font and are rendered correctly in other applications. Only Emacs exhibits this problem. > Or could it be that some customizations, either yours or site-wide, > force Emacs to use other fonts for the above characters? This problem is reproducible with "emacs -Q", without any customizations, on all distributions I've tried. Here is a complete recipe using a live CD, to remove any possibility of user or site customization: 1. Get the Antergos live ISO ( https://antergos.com/download/antergos-live-iso/ ) and boot from it (e.g. in a VM). 2. Choose "Start Antergos live". 3. Choose "Try It". 4. Install Emacs and urxvt (in a terminal, run "pacman -S emacs rxvt-unicode"). 5. Run "emacs -Q --font 7x13". 6. M-x view-hello-file 7. Observe that Cyrillic characters are rendered in a 12x13 font. 8. Run "urxvt -fn 7x13". 9. Copy some Cyrillic characters from Emacs and paste them in urxvt. 10. Observe that urxvt renders the Cyrillic characters correctly, in the correct font. This is not specific to Arch / Antegros: The problem is also reproducible on Ubuntu and Fedora Workstation Live CDs, though you may have to also install some font packages (xorg-x11-fonts-misc for Fedora), and Emacs uses the 8x13 font for Cyrillic characters (so the problem is less obvious). urxvt still uses the correct font there. >> I have found that evaluating the Sexpr: >> >> (set-fontset-font "fontset-default" 'unicode "-misc-fixed-*-*-*--13-*-*-*-*-70-iso10646-1") >> > > Don't do that, this setting will cause all kinds of surprises. To > customize the fonts, use specific character codepoint ranges, and only > specify font for a range if the font support most or all of that > range. Noted. However, immediately lacking a better concrete workaround, I don't have a better option at my disposal.