From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19993: 25.0.50; Unicode fonts defective on Windows Date: Fri, 06 Mar 2015 22:11:32 +0200 Message-ID: <83r3t1nax7.fsf@gnu.org> References: <20150303220228.GA28969@math.berkeley.edu> <83egp4prs3.fsf@gnu.org> <20150305220502.GA4096@math.berkeley.edu> <83a8zqo15d.fsf@gnu.org> <20150306113804.GA11886@math.berkeley.edu> <83385ins3o.fsf@gnu.org> <20150306162136.GA14179@math.berkeley.edu> Reply-To: Eli Zaretskii 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 1425672740 18035 80.91.229.3 (6 Mar 2015 20:12:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Mar 2015 20:12:20 +0000 (UTC) Cc: 19993@debbugs.gnu.org To: Ilya Zakharevich Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 06 21:12:10 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 1YTybR-0006Ut-5m for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Mar 2015 21:12:09 +0100 Original-Received: from localhost ([::1]:60088 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTybQ-0001DM-IG for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Mar 2015 15:12:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTybN-0001DF-EO for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 15:12:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTybK-00066Q-5M for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 15:12:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39296) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTybK-00066M-29 for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 15:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YTybJ-0000h4-SZ for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 15:12:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Mar 2015 20:12:01 +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.14256727002633 (code B ref 19993); Fri, 06 Mar 2015 20:12:01 +0000 Original-Received: (at 19993) by debbugs.gnu.org; 6 Mar 2015 20:11:40 +0000 Original-Received: from localhost ([127.0.0.1]:37864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTyax-0000gO-Fo for submit@debbugs.gnu.org; Fri, 06 Mar 2015 15:11:39 -0500 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:35798) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTyau-0000g9-TL for 19993@debbugs.gnu.org; Fri, 06 Mar 2015 15:11:37 -0500 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NKT00C003QCQ100@mtaout29.012.net.il> for 19993@debbugs.gnu.org; Fri, 06 Mar 2015 22:07:33 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NKT001PO3WKULA0@mtaout29.012.net.il>; Fri, 06 Mar 2015 22:07:33 +0200 (IST) In-reply-to: <20150306162136.GA14179@math.berkeley.edu> X-012-Sender: halo1@inter.net.il 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:100195 Archived-At: > Date: Fri, 6 Mar 2015 08:21:36 -0800 > From: Ilya Zakharevich > Cc: 19993@debbugs.gnu.org > > On Fri, Mar 06, 2015 at 04:00:27PM +0200, Eli Zaretskii wrote: > > > Practically nothing “non-banal” is shown. Let me try… No U+1D49C, > > > U+2099 ₙ, U+1D552, U+27e8 U+27e9 ⟨⟩ (just looking into my recent > > > “real-life” file of notices). > > > > U+2099, U+27e8, and U+27e9 are displayed here (I have the STIX fonts > > installed, and they are used for that). The rest indeed aren't. > > > Do you have fonts installed that cover these codepoints? > > As I said, «Unifont Smooth» has everything in BMP of v7.0. Many fonts > (including «Symbola») have Math chars. Emacs on Windows needs a font to support the entire range of a script, or else it won't use the font. It finds out which scripts are supported by a font by looking at the fsUsb member of the FONTSIGNATURE structure for each font. See font_supported_scripts, and also font_matches_spec which uses it, for the details. So maybe the fonts you have don't announce in their signature that they support these Unicode ranges. E.g., U+1D49C is in "Mathematical ALphanumeric Symbols", whose subrange bit is 89 -- does Symbola set this bit in its font signature? Or maybe we could add some more heuristics to the code in w32font.c, to be smarter about font selection for Symbol script. I really don't know enough about all this stuff.