unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Andy Moreton <andrewjmoreton@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to get the concated characters in Indic languages like Gujarati/Hindi?
Date: Tue, 14 Aug 2018 17:22:34 +0100	[thread overview]
Message-ID: <vz1wossor3p.fsf@gmail.com> (raw)
In-Reply-To: CAFyQvY1MiYxVDpUdLwYa3BZYvaRinVcZNxg39vhAcXDKaP+7Ag@mail.gmail.com

On Tue 14 Aug 2018, Kaushal Modi wrote:

> On Tue, Aug 14, 2018 at 10:32 AM Eli Zaretskii <eliz@gnu.org> 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




  reply	other threads:[~2018-08-14 16:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5070.1534199595.1292.help-gnu-emacs@gnu.org>
2018-08-14  4:49 ` How to get the concated characters in Indic languages like Gujarati/Hindi? Rusi
2018-08-14 14:31   ` Eli Zaretskii
2018-08-14 15:20     ` Kaushal Modi
2018-08-14 16:22       ` Andy Moreton [this message]
2018-08-14 17:52         ` Kaushal Modi
2018-08-14 17:00       ` Kaushal Modi
2018-08-15 15:10       ` Eli Zaretskii
2018-08-13 22:32 Kaushal Modi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vz1wossor3p.fsf@gmail.com \
    --to=andrewjmoreton@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).