all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Andy Moreton <andrewjmoreton@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to get the concated characters in Indic languages like Gujarati/Hindi?
Date: Tue, 14 Aug 2018 13:52:37 -0400	[thread overview]
Message-ID: <CAFyQvY0geQeAkb4qvtf9ty+NWke1SUDeFB6XqLzzfy_Ea-K0vg@mail.gmail.com> (raw)
In-Reply-To: <vz1wossor3p.fsf@gmail.com>

On Tue, Aug 14, 2018 at 1:29 PM Andy Moreton <andrewjmoreton@gmail.com>
wrote:

>
> Try something like:
>
>   (set-fontset-font "fontset-default" 'gujarati "Lohit Gujarati")
>

That's perfect! Thank you.

I downloaded couple of Gujarati fonts from here:
http://www.lipikaar.com/support/download-unicode-fonts-for-gujarati, and
was successfully able to switch through them.

Note to self: From C-h f set-fontset-font, TARGET is what's being set to
'gujarati here.

> TARGET may be a script symbol.  In that case, use FONT-SPEC for
> all the characters that belong to the script.  See the variable
> ‘script-representative-chars’ for the list of known scripts.

So to get a list of valid scripts/languages:

(message "%S"
         (mapcar (lambda (lst) (car lst)) script-representative-chars))
-- 

Kaushal Modi


  reply	other threads:[~2018-08-14 17:52 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
2018-08-14 17:52         ` Kaushal Modi [this message]
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

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

  git send-email \
    --in-reply-to=CAFyQvY0geQeAkb4qvtf9ty+NWke1SUDeFB6XqLzzfy_Ea-K0vg@mail.gmail.com \
    --to=kaushal.modi@gmail.com \
    --cc=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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.