From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.help Subject: Re: How to get the concated characters in Indic languages like Gujarati/Hindi? Date: Tue, 14 Aug 2018 17:22:34 +0100 Message-ID: References: <83ftzhj9yu.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1534267616 22403 195.159.176.226 (14 Aug 2018 17:26:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 14 Aug 2018 17:26:56 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (windows-nt) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 14 19:26:51 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fpd5n-0005S7-Pd for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Aug 2018 19:26:51 +0200 Original-Received: from localhost ([::1]:45214 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpd7g-0006L5-KT for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Aug 2018 13:28:48 -0400 Original-Received: from [2001:4830:134:3::10] (port=34101 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpd2n-0008Lo-Ad for help-gnu-emacs@gnu.org; Tue, 14 Aug 2018 13:23:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fpd2h-0003oD-AQ for help-gnu-emacs@gnu.org; Tue, 14 Aug 2018 13:23:42 -0400 Original-Received: from [195.159.176.226] (port=56408 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fpd2g-0003L3-Ul for help-gnu-emacs@gnu.org; Tue, 14 Aug 2018 13:23:39 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fpc3b-0007dt-4Z for help-gnu-emacs@gnu.org; Tue, 14 Aug 2018 18:20:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:bUNLC59/36btGzVIQhZ7AOFigd4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117654 Archived-At: On Tue 14 Aug 2018, Kaushal Modi wrote: > On Tue, Aug 14, 2018 at 10:32 AM Eli Zaretskii wrote: > >> >> Yes, this is likely to be a problem with the required font not being >> installed. >> > > It does not seem to be a font issue. The default font picked up by Emacs is > Lohit Gujarati. See this image[0]. The same "નમસ્તે" string is rendering > incorrectly in the Emacs buffer, while shows up as expected in LibreOffice > 5.2.5.1 when using the same font. > > How do I specify the font to be used for specific glyphs (like only the the > Gujarati glyph Unicodes)? I can try different fonts. But I expect the > result to be the same in Emacs. That sample Gujarati string renders fine in > LibreOffice for few Gujarati fonts I had at hand. > > [0]: https://i.imgtc.com/7a3MVDL.png Try something like: (set-fontset-font "fontset-default" 'gujarati "Lohit Gujarati") HTH, AndyM