[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Uniform font size for English and Tamil text inside GNU Emacs
From: |
Vaidheeswaran C |
Subject: |
Re: Uniform font size for English and Tamil text inside GNU Emacs |
Date: |
Sat, 06 Jun 2015 09:19:45 +0530 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.3.0 |
On Saturday 06 June 2015 08:17 AM, Shakthi Kannan wrote:
> Hi,
>
> --- On Sat, Jun 6, 2015 at 7:42 AM, Vaidheeswaran C
> <vaidheeswaran.chinnaraju@gmail.com> wrote:
> | I see no such problems. நான் உபயோகிப்பது Lohit Tamil.
> \--
>
> How do we know which font Emacs uses for rendering the text?
I think part of the problem is the cognitive dissonance that arises
from inter-mixing வட்டெழுத்து (rounded letters) and the near 'linear'
nature of English letters. We aren't much used to seeing such mixed
texts, are we?
----------------------------------------------------------------
At the command line use:
| $ fc-list :lang="ta"
|
| /usr/share/fonts/truetype/samyak-fonts/Samyak-Tamil.ttf: Samyak
Tamil:style=Regular
| /usr/share/fonts/truetype/unifont/unifont.ttf: unifont:style=Medium
| /usr/share/fonts/truetype/freefont/FreeSerif.ttf:
FreeSerif:style=Regular,нормален,normal,obyčejné,Mittel,µεσαία,Normaali,Normál,Normale,Gemiddeld,odmiana
zwykła,Обычный,Normálne,
ปกติ,menengah,прямій,Navadno,vidējs,normalusis,عادی,vừa,Arrunta,सामान्य
| /usr/share/fonts/truetype/lohit-tamil/Lohit-Tamil.ttf: Lohit
Tamil:style=Regular
| /usr/share/fonts/opentype/freefont/FreeSerif.otf:
FreeSerif:style=Regular,нормален,normal,obyčejné,Mittel,µεσαία,Normaali,Normál,Normale,Gemiddeld,odmiana
zwykła,Обычный,Normálne,
ปกติ,menengah,прямій,Navadno,vidējs,normalusis,عادی,vừa,Arrunta,सामान्य
|
----------------------------------------------------------------
| $ dpkg -S /usr/share/fonts/truetype/lohit-tamil/Lohit-Tamil.ttf
| fonts-lohit-taml: /usr/share/fonts/truetype/lohit-tamil/Lohit-Tamil.ttf
----------------------------------------------------------------
M-: (font-family-list)
----------------------------------------------------------------
To answer your question... Put your cursor on the text you are
interested in and do C-u C-x =.
I see:
| position: 192 of 1891 (10%), column: 0
| character: க (displayed as க) (codepoint 2965, #o5625, #xb95)
| preferred charset: unicode (Unicode (ISO10646))
| code point in charset: 0x0B95
| script: tamil
| syntax: w which means: word
| category: .:Base, L:Left-to-right (strong)
| to input: type "C-x 8 RET b95" or "C-x 8 RET TAMIL LETTER KA"
| buffer code: #xE0 #xAE #x95
| file code: #xE0 #xAE #x95 (encoded by coding system
utf-8-unix)
| display: by this font (glyph code)
| xft:-unknown-Lohit
Tamil-normal-normal-normal-*-16-*-*-*-*-0-iso10646-1 (#x41)
|
| Character code properties: customize what to show
| name: TAMIL LETTER KA
| general-category: Lo (Letter, Other)
| decomposition: (2965) ('க')
|
| There are text properties here:
| fontified t
|