all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "François Patte" <francois.patte@mi.parisdescartes.fr>
To: help-gnu-emacs@gnu.org
Subject: Re: how to set fonts for a language
Date: Fri, 27 Dec 2013 13:33:10 +0100	[thread overview]
Message-ID: <l9js58$14h5$1@talisker.lacave.net> (raw)
In-Reply-To: <mailman.10486.1388116750.10748.help-gnu-emacs@gnu.org>

Le 27/12/2013 04:57, Jambunathan K a écrit :
> 
> This is what I have for Tamil.  C-\ will toggle between English and
> Tamil for me.  Script in your case will be 'bengali.
> 
>     (set-face-font 'default "fontset-default")
>     (set-fontset-font "fontset-default" 'tamil "Lohit Tamil")
> 
>     (set-language-environment "Tamil")
>     (add-hook 'set-language-environment-hook
>               (lambda nil
>                 (when (equal current-language-environment "Tamil")
>                   (setq default-input-method "tamil-itrans"))))
> 


Thank you for this, it works for me.

BTW (as you use Tamil): do you some fonts for grantha? I found one
(e-grantamil) but the character codes use bengali unicode.... Do you
know if grantha has been forgotten by the unicode consortium?

Thanks


-- 
François Patte
Université Paris Descartes


  parent reply	other threads:[~2013-12-27 12:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-26 21:46 how to set fonts for a language François Patte
2013-12-27  3:57 ` Jambunathan K
     [not found] ` <mailman.10486.1388116750.10748.help-gnu-emacs@gnu.org>
2013-12-27 12:33   ` François Patte [this message]
2013-12-27 13:42     ` Jambunathan K
2013-12-27 13:47       ` Jambunathan K
2013-12-27 15:17         ` Eli Zaretskii

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='l9js58$14h5$1@talisker.lacave.net' \
    --to=francois.patte@mi.parisdescartes.fr \
    --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.