From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ilya Zakharevich Newsgroups: gmane.emacs.bugs Subject: bug#19993: 25.0.50; Unicode fonts defective on Windows Date: Sun, 8 Mar 2015 09:20:17 -0700 Message-ID: <20150308162017.GC5456@math.berkeley.edu> References: <20150305220502.GA4096@math.berkeley.edu> <83a8zqo15d.fsf@gnu.org> <20150306113804.GA11886@math.berkeley.edu> <83385ins3o.fsf@gnu.org> <20150306162136.GA14179@math.berkeley.edu> <83r3t1nax7.fsf@gnu.org> <20150306220801.GA16266@math.berkeley.edu> <83lhj9mdgn.fsf@gnu.org> <20150308074158.GA885@math.berkeley.edu> <83ioeblc7f.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1425831694 9700 80.91.229.3 (8 Mar 2015 16:21:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Mar 2015 16:21:34 +0000 (UTC) Cc: 19993@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 08 17:21:17 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YUdx5-0000HC-J5 for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Mar 2015 17:21:15 +0100 Original-Received: from localhost ([::1]:39622 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUdx5-0003Up-0B for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Mar 2015 12:21:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUdwx-0003NN-QJ for bug-gnu-emacs@gnu.org; Sun, 08 Mar 2015 12:21:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YUdws-0006j4-NF for bug-gnu-emacs@gnu.org; Sun, 08 Mar 2015 12:21:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40983) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUdws-0006j0-IZ for bug-gnu-emacs@gnu.org; Sun, 08 Mar 2015 12:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YUdws-0005jZ-3g for bug-gnu-emacs@gnu.org; Sun, 08 Mar 2015 12:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ilya Zakharevich Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Mar 2015 16:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19993 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19993-submit@debbugs.gnu.org id=B19993.142583162921984 (code B ref 19993); Sun, 08 Mar 2015 16:21:02 +0000 Original-Received: (at 19993) by debbugs.gnu.org; 8 Mar 2015 16:20:29 +0000 Original-Received: from localhost ([127.0.0.1]:39551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YUdwK-0005iV-HY for submit@debbugs.gnu.org; Sun, 08 Mar 2015 12:20:28 -0400 Original-Received: from nm19-vm1.bullet.mail.gq1.yahoo.com ([98.136.217.24]:48235) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YUdwH-0005iF-Sr for 19993@debbugs.gnu.org; Sun, 08 Mar 2015 12:20:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1425831620; bh=rZ0IjhgmwLBqt9pyXUI1iAHhfNryEeK/8uNzWKalegE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=lLSNxuxK0aETtMGkOrugjrsA2cQ8yOcb5vBgJjl/ykLusVuXK8FHfCoRbVItKZb2tY6eVzqeev+53B7Zmy/ySFmUpjLqV29ppLmsYB5dZl4dIUq8pAQ602QbsG0L1/4En5TGZqA+KkI1jOaxjLAoUdEKywjHSVIHMPtaAg73Mcn5fC42F0424DQlyq46/p/8Jrwb0N8ZNODTZwvuonXwr6TaFmqus+FcTZxlk8BzEjIJ1SidgoCk8XhihCx/EDBW37jGHKqEPW6YQYZX/VzqTMQ9UxU2WtV6YrFFmO05O7k0BwsLX46WxmrLlo62PyJ8JbC+3GQr9f+vqRh3XLqyTQ== Original-Received: from [98.137.12.174] by nm19.bullet.mail.gq1.yahoo.com with NNFMP; 08 Mar 2015 16:20:20 -0000 Original-Received: from [98.136.164.74] by tm13.bullet.mail.gq1.yahoo.com with NNFMP; 08 Mar 2015 16:20:20 -0000 Original-Received: from [127.0.0.1] by smtp236.mail.gq1.yahoo.com with NNFMP; 08 Mar 2015 16:20:20 -0000 X-Yahoo-Newman-Id: 250520.48213.bm@smtp236.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 5FhJX38VM1kk81J4eqlPEzd.lbx96o0QSFsVPh4E2X8HpiE os7wt3axhdGKeNLiQg2BRktZ52K4AuNZuXfzpAhCBjBTDLFBMf8qIv480h92 8LH1kaeQN6Y9UZFNys63aCPvFnnPpe5s2V9B.kmbOgDpIh2UWS3b_7Yv7_dK 0VqhJfTo2wHNf9iJydhU1vj1l9oj7Q8359EWvNj4mJbfgSJtnUAy3gfadhsm 4vSMrBENmrHmvGmFcfNE4gxFYjesuzrzdk_1twwgsoHcB12SQFNgp21tWQfn KmSAS9s0mzSoeSgu4az0R.qodeuHKgSWHSRl2y4WBm8Y0MkY9VEOOCvc5NmP gG7ukUryRoeNQdcEGayCHrGYHxi1vnVGdGQPw38fW1tFRcvVQ6sVnIG2KVJG nL0Iv4Bpzz8INKmpPHmmA30HOCHZGqsbqKvgQnGxWTpZ3cNLDHeThSJw9gCX 8CN45fcdaD565iPfvmiarYhFI31CmcrvZ8y0y4rbxbhvZQp_Uzu8t_XeuWTv k0cm_UDbrAesJMZXdp22If0LCNJn.w1jjLA6O0zHaE5iGeM.i5X4arlHAcMD nTd5gexwZr3FmUu3_Le02bj31YnoF8ev.GQtQsapsj6a5eX5J0dPSwa83fvp SLy3CqjzbQ6AS1vjGHwEt1e_f8y.2IQLd06Wi30Bnw52a.Qy9BzKDPcrFkv. VEThVQPQ8Z7wSz2IqXp9nuvWM39g- X-Yahoo-SMTP: oLSY3dWswBBqoBVzCkLl_RIsw6heKMxu8wpEbARv1SU- Content-Disposition: inline In-Reply-To: <83ioeblc7f.fsf@gnu.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:100271 Archived-At: On Sun, Mar 08, 2015 at 05:51:16PM +0200, Eli Zaretskii wrote: > > What is actually supported: > > > > 0400 - 04FF Everything but 04d8,04d9 (Schwa, used in Cyrillic Azeri — but > > contemporary Azeri is written in Latin) > > 0500 - 052F Only 0500 - 0513, 051a - 051d supported > > 2DE0 - 2DFF None supported (5.1) > > A640 - A69F None supported (5.1 and later) > > FWIW, on one system I use frequently (a pretty standard Windows 7 > machine), the last two blocks are not supported by any font. Likewise > on another system, an XP with a lot of additional fonts installed. > But if I install GNU Unifont, then Emacs does use it for these blocks. > So somehow we do TRT in some situations. Maybe these subranges are > just a filter? BTW, using Unifont from unifondry is asking for trouble. And here I do not mean just your eyes (it may be good at 16pt), but the fact that it won’t interact with any other font — it claims glyphs for all the characters in all the ranges — even if it does not know the correct glyph. My build (“Unifont Smooth” on ilyaz.org/fonts) is properly behaving (at least in this regard) — and is much better for eyes in all the resolutions. > > Does it look like a good indication of anything? I would say no… Do > > you know any other tool looking at this bitmap for choosing which font > > to pick up for a particular character? > > I guess by "tool" you mean a technique or algorithm that uses the font > data for selecting the appropriate font? If so, no, I know very > little in this area, on Windows or elsewhere. Enumerating all the > glyphs would work, but is probably prohibitively expensive. Enumerating all the glyphs is exactly how all the tools I know work — at least those which can show all the characters which can be shown on a system. And so far, on Windows I found one such tool (of those not using fontconfig, like mplayer): firefox with user’s customizations from http://search.cpan.org/~ilyaz/UI-KeyboardLayout/lib/UI/KeyboardLayout.pm#There_is_no_way_to_show_Unicode_contents_on_Windows (Currently, these instructions are not reflecting the fact that Unifont Smooth became well-behaving, so may be used as a substitution font too.) Ilya