[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 23.0.60; Indic Script is not rendered properly
From: |
Kenichi Handa |
Subject: |
Re: 23.0.60; Indic Script is not rendered properly |
Date: |
Tue, 27 May 2008 20:48:40 +0900 |
In article <address@hidden>, address@hidden (Ashish Shukla आशीष शुक्ल) writes:
> I typed characters क्ल and placed cursor on them, and then did C-u C-x =,
> and following is the output.
> ---->8---->8----
> character: क (2325, #o4425, #x915)
> preferred charset: unicode (Unicode (ISO10646))
> code point: 0x0915
> syntax: w which means: word
> category: i:Indian
> to input: type "ka" with devanagari-itrans
> buffer code: #xE0 #xA4 #x95
> file code: #xE0 #xA4 #x95
> (encoded by coding system utf-8-unix)
> display:
> composed to form "क्ल" (see below)
> Composed with the following character(s) "्ल" using this font:
> -unknown-FreeSans-normal-normal-normal-*-12-*-*-*-*-0-iso10646-1
> by these glyphs:
> [#<font-object
> "-unknown-FreeSans-normal-normal-normal-*-12-*-*-*-*-0-iso10646-1"> 17 -2 9 8
> 4]
> [0 2 2325 1210 9 9 0 8 1 nil]
> [0 2 2381 1265 0 -8 -11 0 3 [-3 -1 0]]
> [0 2 2354 1239 8 8 0 8 1 nil]
Hmmm, it seems that your FreeSans.ttf is old. At least, my
FreeSans.ttf (Version 1.79 of date 16-5-2007) displays that
text correctly.
[...]
> So I guess this is the font issue, that Emacs is not able to figure out
> which font to use. For the moment, I added that LISP code in my .emacs,
> but is this the proper fix for this issue ? Or, I've to change something
> in fonts.conf or any such font-related configuration, hmmm..?
For Devanagari, by default, Emacs uses an OpenType font that
supports the script `deva' and has feature `rphf'. If
multiple fonts match that spec, Emacs selects one
arbitrarily. Perhaps, we must implement a way to reflect
the preference of underlying font-backend.
---
Kenichi Handa
address@hidden
- 23.0.60; Indic Script is not rendered properly, Ashish Shukla, 2008/05/26
- Re: 23.0.60; Indic Script is not rendered properly, Kenichi Handa, 2008/05/27
- Re: 23.0.60; Indic Script is not rendered properly, Manoj Srivastava, 2008/05/27
- Re: 23.0.60; Indic Script is not rendered properly, Kenichi Handa, 2008/05/27
- Re: 23.0.60; Indic Script is not rendered properly, Manoj Srivastava, 2008/05/28
- Re: 23.0.60; Indic Script is not rendered properly, Kenichi Handa, 2008/05/28
- Re: 23.0.60; Indic Script is not rendered properly, Manoj Srivastava, 2008/05/28
- Re: 23.0.60; Indic Script is not rendered properly, Miles Bader, 2008/05/29
- Re: 23.0.60; Indic Script is not rendered properly, Kenichi Handa, 2008/05/29