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: Tue, 3 Mar 2015 14:02:28 -0800 Message-ID: <20150303220228.GA28969@math.berkeley.edu> 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 1425421944 28668 80.91.229.3 (3 Mar 2015 22:32:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Mar 2015 22:32:24 +0000 (UTC) To: 19993@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 03 23:32: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 1YSvMI-0004DZ-7N for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Mar 2015 23:32:10 +0100 Original-Received: from localhost ([::1]:41169 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSvMH-0006hc-GK for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Mar 2015 17:32:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSvMD-0006fN-Ka for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2015 17:32:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSvMA-0000Vr-B2 for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2015 17:32:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSvMA-0000Vl-75 for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2015 17:32:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YSvM9-0003uS-OZ for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2015 17:32:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ilya Zakharevich Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Mar 2015 22:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19993 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.142542190814999 (code B ref -1); Tue, 03 Mar 2015 22:32:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Mar 2015 22:31:48 +0000 Original-Received: from localhost ([127.0.0.1]:34320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YSvLv-0003tq-NA for submit@debbugs.gnu.org; Tue, 03 Mar 2015 17:31:48 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43425) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YSutu-0003Cf-9s for submit@debbugs.gnu.org; Tue, 03 Mar 2015 17:02:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSutj-0008Kl-Lr for submit@debbugs.gnu.org; Tue, 03 Mar 2015 17:02:44 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:53707) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSutj-0008Kf-Jm for submit@debbugs.gnu.org; Tue, 03 Mar 2015 17:02:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSuth-0001xL-Oz for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2015 17:02:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSutc-0008JJ-Ol for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2015 17:02:37 -0500 Original-Received: from nm19-vm8.bullet.mail.gq1.yahoo.com ([98.136.217.31]:37786) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSutc-0008Iy-Fm for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2015 17:02:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1425420151; bh=GbP0arGCPong4XgPkH4wFZwFY9bv4BWhFBuXZCjuKEQ=; h=Date:From:To:Subject:From:Subject; b=ZTYKjybqiXIjnRtLjubS5MOUpQiRBgut6L0yEpZ+7MkHE7l5esDW5RabQgT9YROieAAXNffY5xtw8MBMjZLx/fVstyRO9ahQ//H2o8+MOo9/FAcybMQJ0mWOk9QQnhcl936VZJhlSnBLhUTSqJ0lnnGXUNKOtwZLqmabnOPSNnIsaj/Cx7baep1GraXo1yjT4l8o7vTMjIYlTS+Jddk2fK3JGquL316snEJljKVRLd1T61HREs+3IhFS9SBsU4NVSCPs1Q9L3vF3dGVC5D1u14A0ORK9IwXrf3/vRNIBdqdh75a/C0cUIzgumcQBZiQ9ueOtTXDKXM7ctz3JyyT6SQ== Original-Received: from [216.39.60.180] by nm19.bullet.mail.gq1.yahoo.com with NNFMP; 03 Mar 2015 22:02:31 -0000 Original-Received: from [98.136.164.74] by tm16.bullet.mail.gq1.yahoo.com with NNFMP; 03 Mar 2015 22:02:31 -0000 Original-Received: from [127.0.0.1] by smtp236.mail.gq1.yahoo.com with NNFMP; 03 Mar 2015 22:02:31 -0000 X-Yahoo-Newman-Id: 290233.85310.bm@smtp236.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: B.DGgK4VM1n0B0SrodsRdtLqbDoLAcS3JXHuHLNPSVZMPkl MpEFb30gSA1wPyL8oomEVzF5_6ybHE7xyKa5Hyok7YjX1fiEOKTwjcglIHMD 15x9ZF8f9i2ZSn9kIRBLeUlmaBsPru.NNz2mXOmZDYeoB1mNz54YO9sSG3_3 GdLqPemTNBzbspTzwr.m.LOHdWD2WPS4ogP3YF5vHp71HZ433v0L6rbJa7xa WSSPka4MAwi32UXA1m7XThNl7uJot7L8pQ3spvJLBvXsO0kw9nUWYCTH3KcJ EI7MuwchZ._z9yXqcivPl0AQfVjIZCktJU1aPkQveL2uDOCJ2Q1Nvhi8m3bY IgMGx0kzHLVVekEayK0S9zdbbpu7Bdl8DTJzC_oRcE0mL4ndnPRGG_Hn2buO t54bwzFPncx8jVZBKHgyyT4u6p2GGTe0TiNv1zJO7fwBwu.GdH1bFWG.93G0 ykpnhLxRugTdOrGV1_J6DJo4FNK.MFvYCDHsO25vVPzFqKF5txkXkanAyPTl ANfT.bDY7sxjaP9g6AA4FkxFBBZl_ONMh2o3PfjUpr.Knig-- X-Yahoo-SMTP: oLSY3dWswBBqoBVzCkLl_RIsw6heKMxu8wpEbARv1SU- Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Tue, 03 Mar 2015 17:31:45 -0500 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:100035 Archived-At: (A) On Windows, most Unicode characters won’t be shown, even if the system has (many) fonts covering the characters (and these fonts are listed in `font-log'!). (B) Documentation of fontsets is completely unusable (I will file a separate bug report covering this), so there is no way a user would be able to work around this by using “just Emacs docs”. (However, there some googlable advice — but I did not check the validity of it yet) (C) Even if a character is (eventually) shown, it may take several seconds after the character is typed. E.g., typing ℱ gives a 2sec delay on my system (a pretty quick PC). It is shown using uniscribe:-outline-MS Gothic-normal-normal-normal-mono-13-*-*-*-c-*-jisx0208*-* (#x3D3) (D) After typing as in (C), many operations become unusable. (E.g., showing documentation for font-log takes several minutes to display the end of the buffer. Save the buffer to a file — and it takes 4.5MB.) (E) Doing `describe-fontset' show a complete mess. It looks like the system is designed for some very old installations — it has an enormous overhead (while not being able to show anything nontrivial!). I get 4500 rows of output, containing junk like this: … ¢ .. £ (#xA2 .. #xA3) -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-1 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-2 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-3 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-4 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-9 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-10 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-13 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-14 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-15 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-16 -*-*-*-*-*-*-*-*-*-*-*-*-viscii1.1-1 -*-*-*-*-*-*-*-*-*-*-*-*-iso10646-1 -*-*-*-*-*-*-*-*-*-*-*-*-jisx0208.1983-0 ¤ (#xA4) -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-1 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-2 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-3 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-4 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-9 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-10 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-13 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-14 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-15 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-16 -*-*-*-*-*-*-*-*-*-*-*-*-viscii1.1-1 -*-*-*-*-*-*-*-*-*-*-*-*-iso10646-1 -*-*-*-*-*-*-*-*-*-*-*-*-gb2312.1980-0 -*-*-*-*-*-*-*-*-*-*-*-*-ksc5601.1987-0 ¥ .. ¦ (#xA5 .. #xA6) -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-1 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-2 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-3 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-4 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-9 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-10 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-13 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-14 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-15 -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-16 -*-*-*-*-*-*-*-*-*-*-*-*-viscii1.1-1 -*-*-*-*-*-*-*-*-*-*-*-*-iso10646-1 § (#xA7) … having no relationship to how contemporary systems are set up. (F) `font-show-log' is a little bit more convenient to work with  — but it shows no indication what goes wrong when Unicode characters are not shown. It has 1600 lines — and, AFAICS, is not documented. ----- What to do with this mess? There should be 3 goals: 1) fonts should work out of the box; 2) one should make the list of encodings to load (I mean those in `describe-fontset') system-dependent, and — on contemporary systems — default to iso10646 *ONLY*. 3) Improve the docs (but I would try to address this in a separate bug report). (I keep all the debugging info I could find. It is huge, I will make it available upon request.) Thanks for the parts of Emacs which ARE working great, Ilya ======================================================= In GNU Emacs 25.0.50.20 (i686-pc-mingw32) of 2015-02-08 on BUCEFAL Repository revision: d5e3922e08587e7eb9e5aec2e9f84cbda405f857 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=/k/test' Configured features: SOUND NOTIFY ACL Important settings: value of $LANG: ENU locale-coding-system: cp1252 Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message dired format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32notify w32 multi-tty emacs) Memory information: ((conses 8 80324 9864) (symbols 32 17968 0) (miscs 32 85 128) (strings 16 12688 4007) (string-bytes 1 324435) (vectors 8 9470) (vector-slots 4 390690 6074) (floats 8 65 62) (intervals 28 243 45) (buffers 516 13))