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: Sat, 7 Mar 2015 23:41:58 -0800 Message-ID: <20150308074158.GA885@math.berkeley.edu> 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> <83r3t1nax7.fsf@gnu.org> <20150306220801.GA16266@math.berkeley.edu> <83lhj9mdgn.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 1425800604 2962 80.91.229.3 (8 Mar 2015 07:43:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Mar 2015 07:43:24 +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 08:43:12 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 1YUVrj-0000x0-DA for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Mar 2015 08:43:11 +0100 Original-Received: from localhost ([::1]:37722 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUVri-00018A-R0 for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Mar 2015 03:43:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUVre-000173-8x for bug-gnu-emacs@gnu.org; Sun, 08 Mar 2015 03:43:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YUVra-0007Wb-Ve for bug-gnu-emacs@gnu.org; Sun, 08 Mar 2015 03:43:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40508) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUVra-0007WS-Sj for bug-gnu-emacs@gnu.org; Sun, 08 Mar 2015 03:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YUVra-0008BP-Fs for bug-gnu-emacs@gnu.org; Sun, 08 Mar 2015 03:43: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 07:43: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.142580053031381 (code B ref 19993); Sun, 08 Mar 2015 07:43:02 +0000 Original-Received: (at 19993) by debbugs.gnu.org; 8 Mar 2015 07:42:10 +0000 Original-Received: from localhost ([127.0.0.1]:39076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YUVqj-0008A4-NJ for submit@debbugs.gnu.org; Sun, 08 Mar 2015 03:42:10 -0400 Original-Received: from nm10-vm1.bullet.mail.gq1.yahoo.com ([98.136.218.92]:33747) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YUVqh-00089a-1c for 19993@debbugs.gnu.org; Sun, 08 Mar 2015 03:42:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1425800520; bh=3toED4sPebj4OI5dgCMY+jKheU6nQzP4j9fSnf7/+yE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=rNKKgapYbcTpkLicyqv3iTKUrQYncLFz5iIBF9ctd2nXUGWdbxkNTHSAQO5SI3SsYWqSwfVOrb/66JWP2ahdIQoPIUtPfjI+m3iZPGClJ0pFV5r9M1s09V5z39Lul5Q4sNdRknFK/V9R/GhiIhc6ypezpek/xgJD2O4jNwvuq5saGB7PjZA+9OsSIBKzi0FBannfmEhLlzGDY9K+nPHAs72k5eJMA88Zg1cOIGBI0ZJUIWOu+/k6wd6c3NdeGlykGucYNeKKvxRXIjPLlHezoRn+ba8MwAYHPZTlukWDp36cucZUy1vqLGQEA1DNG+ac/GXuPnWKpD8iczFjveX6VA== Original-Received: from [98.137.12.58] by nm10.bullet.mail.gq1.yahoo.com with NNFMP; 08 Mar 2015 07:42:00 -0000 Original-Received: from [208.71.42.201] by tm3.bullet.mail.gq1.yahoo.com with NNFMP; 08 Mar 2015 07:42:00 -0000 Original-Received: from [127.0.0.1] by smtp212.mail.gq1.yahoo.com with NNFMP; 08 Mar 2015 07:42:00 -0000 X-Yahoo-Newman-Id: 861676.96405.bm@smtp212.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: cV1l5ooVM1nx2tUGCeRgzXC7Pe8Cny2x3IfJn8nlxdsaiyl fi7JqIpVRYmyuyfXJloSNAQDmcWtyALV0aZARUk2eauF6PmmysLk1B.NfDeA Mqqr8zi6f8NHABoxoxeXH8LB4OPVcge5Dn2.gSjcyUgv4DK9vImO3qHwGK6H CLJLRh.PFWxn44jspMJn66_qYaV7DNk1txbOwrPK07hM5nBh.bSlfZrRiaky ikbxgInY_zueZfL9Yp9t3FvBvQ8_liyl98qr7Do23fi34AQAkfC9FeweuykG RbVBPa7VGysN4OTVK4WUbI8PukEA4_fiNFwSjSQLb5e4JRN5DLJV9UhuwxxI wKnWmhqBR1zeHJtoLnWVzXqv6oTymho9T.HZ7osOZe1.wS3JndIOhdAe8IZX 41gL64BUk7fz5r8jR1Kujs9h6XqTvrcN6T_si_6eHvs2fqRX6AF2t_350913 wfbQLfpNB4zyxdo83CCUUO3_C3oeFqtsVvzYu8n65UP_7kgliWwhpH4IQ0dD lamJ_X8iDpM_WKMVMkgS0HvrYGuiKYDgVpwXzX36MgMXVgARQ X-Yahoo-SMTP: oLSY3dWswBBqoBVzCkLl_RIsw6heKMxu8wpEbARv1SU- Content-Disposition: inline In-Reply-To: <83lhj9mdgn.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:100254 Archived-At: On Sat, Mar 07, 2015 at 10:14:16AM +0200, Eli Zaretskii wrote: > > What can it mean that a font “supports a script”? > > > > Theoretically, it may mean that > > • it “knows” all the characters in the script, and > > • has enough extra infrastructure to shape these characters > > into a correct glyphic representation. > > > > I may see that the second part may be described by one bit per > > script. But what about the first one? A repertoir of a script > > changes every year (sometimes several times per year). How can this > > be encapsulated into a bit? > > All I know about this is what the MSDN documentation says: > > FONTSIGNATURE structure > > Contains information identifying the code pages and Unicode subranges > for which a given font provides glyphs. > [...] > Members > > fsUsb > > A 128-bit Unicode subset bitfield (USB) identifying up to 126 > Unicode subranges. Each bit, except the two most significant bits, > represents a single subrange. The most significant bit is always 1 > and identifies the bitfield as a font signature; the second most > significant bit is reserved and must be 0. Unicode subranges are > numbered in accordance with the ISO 10646 standard. For more > information, see Unicode Subset Bitfields. So this bits “identify” a subrange. Of course, nothing is said about what this actually MEANS. So I did an experiment: Cour.ttf. The following subrange is “identified”: 9 0400 - 04FF Cyrillic 0500 - 052F Cyrillic Supplement 2DE0 - 2DFF Cyrillic Extended-A A640 - A69F Cyrillic Extended-B 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) Looking in DerivedAge.txt: 04D0..04EB ; 1.1 # [28] CYRILLIC CAPITAL LETTER A WITH BREVE..CYRILLIC SMALL LETTER BARRED O WITH DIAERESIS 0500..050F ; 3.2 # [16] CYRILLIC CAPITAL LETTER KOMI DE..CYRILLIC SMALL LETTER KOMI TJE 0510..0513 ; 5.0 # [4] CYRILLIC CAPITAL LETTER REVERSED ZE..CYRILLIC SMALL LETTER EL WITH HOOK 0514..0523 ; 5.1 # [16] CYRILLIC CAPITAL LETTER LHA..CYRILLIC SMALL LETTER EN WITH MIDDLE HOOK So two characters of 1.1 are not supported, all characters of 3.2 and 5.0 are supported, and part of 5.1 is supported. 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? Ilya