From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jim Funderburk Newsgroups: gmane.emacs.bugs Subject: bug#21260: 23.2; Devanagari windows 10 Date: Tue, 18 Aug 2015 15:23:05 -0400 Message-ID: <55D38619.701@verizon.net> References: <55CE4C42.4050208@verizon.net> <831tf5ob1x.fsf@gnu.org> <55CF992B.1060404@verizon.net> <83k2swlzus.fsf@gnu.org> <83io8fmhwu.fsf@gnu.org> <55D0F0E1.3090702@verizon.net> <8337zhnaa7.fsf@gnu.org> <55D24115.7030300@verizon.net> <83twrwllvr.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1439925869 6770 80.91.229.3 (18 Aug 2015 19:24:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Aug 2015 19:24:29 +0000 (UTC) Cc: 21260@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 18 21:24:14 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 1ZRmUU-0001Yi-DD for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Aug 2015 21:24:10 +0200 Original-Received: from localhost ([::1]:59248 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRmUT-0003Mh-Fh for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Aug 2015 15:24:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRmUP-0003MS-Li for bug-gnu-emacs@gnu.org; Tue, 18 Aug 2015 15:24:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRmUM-0003dN-G7 for bug-gnu-emacs@gnu.org; Tue, 18 Aug 2015 15:24:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRmUM-0003dJ-Cf for bug-gnu-emacs@gnu.org; Tue, 18 Aug 2015 15:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZRmUM-0001ft-6a for bug-gnu-emacs@gnu.org; Tue, 18 Aug 2015 15:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jim Funderburk Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Aug 2015 19:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21260 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21260-submit@debbugs.gnu.org id=B21260.14399258146379 (code B ref 21260); Tue, 18 Aug 2015 19:24:02 +0000 Original-Received: (at 21260) by debbugs.gnu.org; 18 Aug 2015 19:23:34 +0000 Original-Received: from localhost ([127.0.0.1]:59971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZRmTu-0001eo-5O for submit@debbugs.gnu.org; Tue, 18 Aug 2015 15:23:34 -0400 Original-Received: from vms173023pub.verizon.net ([206.46.173.23]:48109) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZRmTs-0001eg-BY for 21260@debbugs.gnu.org; Tue, 18 Aug 2015 15:23:32 -0400 Original-Received: from [192.168.0.146] ([71.181.236.215]) by vms173023.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0NTA00EQWLUEFM70@vms173023.mailsrvcs.net> for 21260@debbugs.gnu.org; Tue, 18 Aug 2015 14:23:03 -0500 (CDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=MtGvkDue c=1 sm=1 tr=0 a=8peW+UpaC3yISuMGXjhtSg==:117 a=o1OHuDzbAAAA:8 a=oR5dmqMzAAAA:8 a=Yo2XpZhZnQAA:10 a=-9mUelKeXuEA:10 a=N659UExz7-8A:10 a=uRRa74qj2VoA:10 a=mDV3o1hIAAAA:8 a=D-1WgCuGGPPJlbxiCBoA:9 a=pILNOxqGKmIA:10 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 In-reply-to: <83twrwllvr.fsf@gnu.org> 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: 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105570 Archived-At: Eli - I tried both 'set-fontset-font' suggestions -- and both worked! I could not tell any difference between the two solutions. Also, I put the first option in c:\.emacs file, per your suggestion. Now, the sample devanagari file opens properly when I use Emacs in the usual way (i.e., without -Q). As far as I can see at the moment, the problem is satisfactorily solved. Thank you for working through the options with me and finding a good solution. Regards, Jim Funderburk On 8/18/2015 10:19 AM, Eli Zaretskii wrote: >> Cc: 21260@debbugs.gnu.org >> From: Jim Funderburk >> Date: Mon, 17 Aug 2015 16:16:21 -0400 >> >> 3. Regarding fonts on windows 10 (from Control Panel/Fonts): >> a. Neither Mangal nor Kokila shows up >> b. The only font that I see which mentions Devanagari and other >> Indian languages is 'Nirmala UI' >> Note: In light of your comment about Emacs and Indian >> Language Fonts, this difference between Windows 10 >> and prior versions of Windows may be the basis of >> the problem. >> c. When I set the Default Font to Nirmala UI, Then the Devanagari >> in the sample files displays properly !! > I found the Nirmala UI font on Windows 8.1 and looked at its OTF > features. I think I know what causes the problem. Please try > evaluating the following expression in "emacs -Q" immediately after > start, and then see whether display of Devanagari works okay after > that: > > (set-fontset-font "fontset-default" 'devanagari > (font-spec :registry "iso10646-1" :otf '(dev2 nil (rphf))) > nil 'prepend) > > If the above doesn't work, try this instead: > > (set-fontset-font "fontset-default" 'devanagari "Nirmala UI" nil 'prepend) > > If any of these work, you can put it in your .emacs init file to make > it permanent. >