From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vaidheeswaran C Newsgroups: gmane.emacs.help Subject: Re: Uniform font size for English and Tamil text inside GNU Emacs Date: Sat, 06 Jun 2015 09:19:45 +0530 Message-ID: <55726DD9.3090408@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1433562627 2491 80.91.229.3 (6 Jun 2015 03:50:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Jun 2015 03:50:27 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Shakthi Kannan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 06 05:50:20 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z157h-0007MI-Cu for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Jun 2015 05:50:17 +0200 Original-Received: from localhost ([::1]:50410 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z157g-0007YQ-I9 for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Jun 2015 23:50:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z157V-0007XB-AE for help-gnu-emacs@gnu.org; Fri, 05 Jun 2015 23:50:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z157S-0001YU-38 for help-gnu-emacs@gnu.org; Fri, 05 Jun 2015 23:50:05 -0400 Original-Received: from mail-pa0-x235.google.com ([2607:f8b0:400e:c03::235]:35012) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z157R-0001WP-Rr for help-gnu-emacs@gnu.org; Fri, 05 Jun 2015 23:50:02 -0400 Original-Received: by pacyx8 with SMTP id yx8so23985132pac.2 for ; Fri, 05 Jun 2015 20:49:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=nR9QUqu/CXv4noAbGxTNRSbejLTthRR/o+oC7+to3OE=; b=QwYIZYF5fv2mLDGxmIXD4AkKiIxtKYqCZ2axTg/PAR6MEn9vrcwrsY8NVsj31A33pY QWq4mwdkhjOuxdKnkRbuR/VAvhucMu+slIPaz2mEUim/dRa4u1LCCrgXCJPYnluU09Du uQKOZkKqrV2NJj/GW6MktA/UVbZ3igoVWiwDofoSxS3Hq6czuuwk+R48Z/F0BG9lSrRv lwrjuEvKTBhok4Yx4qzX5ZatsVQbDrcq7mdAD30CLrMCPw0YJxv3v2+y4yh5jIYjOb/V N1FC74lvr22Ir8fkfs7EqWwnEkR2gJE13I3GqPdWUbcIH/J3+AO0TKKZR1Yzcowr3n+p RFMw== X-Received: by 10.66.190.228 with SMTP id gt4mr11067893pac.72.1433562599570; Fri, 05 Jun 2015 20:49:59 -0700 (PDT) Original-Received: from [192.168.43.83] ([27.57.26.49]) by mx.google.com with ESMTPSA id cp10sm8125059pdb.44.2015.06.05.20.49.56 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Jun 2015 20:49:58 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.3.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::235 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104789 Archived-At: On Saturday 06 June 2015 08:17 AM, Shakthi Kannan wrote: > Hi, > > --- On Sat, Jun 6, 2015 at 7:42 AM, Vaidheeswaran C > 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 |