From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Tamil fonts (Was: bug#55745: [PATCH] Add support for the Hanifi Rohingya script) Date: Wed, 01 Jun 2022 20:39:42 +0300 Message-ID: <83tu94ffkx.fsf@gnu.org> References: <8335goh5l4.fsf@gnu.org> <20220601.163031.1579691423197747832.wl@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3682"; mail-complaints-to="usenet@ciao.gmane.io" Cc: wl@gnu.org, emacs-devel@gnu.org To: =?utf-8?B?4KS44KSu4KWA4KSwIOCkuOCkv+CkguCkuSBTYW1lZXIgU2luZ2g=?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 01 19:41:39 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nwSLi-0000qG-Ss for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Jun 2022 19:41:39 +0200 Original-Received: from localhost ([::1]:59030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwSLh-0008JE-EH for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Jun 2022 13:41:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwSJk-0007KJ-IN for emacs-devel@gnu.org; Wed, 01 Jun 2022 13:39:36 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39914) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwSJj-0000oA-8m; Wed, 01 Jun 2022 13:39:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=vG7uO5jgO4hNNtJhES6odQlsvMzfp15FpINU/Wz9e7Y=; b=CVNURXqsMsCg1LvrrOCG VjQl1z8fDKUTVOFYzQRmT5KKM6Kty8OP4UrxWf1A51jSQw2AqyFy5yMjbMmGqwMm9wBE75z/GIHtL 2zS3JL6C8mc4a9JuYNE4Ofyl2dH/R7K4qHTzQGuD16mKdUu8w0TePjlLLpYRqa+2ipih98Y3cZQuR 7f3XIafZobDIgX6jaGJmaVDTqkT4dnLYAkb8nRxx6fgkDOSQmdMtYSgEyRIeXUcmcWBmnVYWrkUns zewQaA1lh/KnrljXnGPzapmE7YbYDZnDD2xcMvJsvybeyGLOFOMYV4abyW00Kqho45s9UgVMtk+Yp HwVGQ1poXlSQcw==; Original-Received: from [87.69.77.57] (port=2985 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwSJi-0004bw-FN; Wed, 01 Jun 2022 13:39:34 -0400 In-Reply-To: (message from =?utf-8?B?4KS44KSu4KWA4KSwIOCkuOCkv+CkguCkuQ==?= Sameer Singh on Wed, 1 Jun 2022 22:25:52 +0530) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:290526 Archived-At: > From: समीर सिंह Sameer Singh > Date: Wed, 1 Jun 2022 22:25:52 +0530 > Cc: Eli Zaretskii , emacs-devel@gnu.org > > This is a sub-optimal solution IMHO. There will always be cases where > a script is split into multiple Unicode blocks, probably mapped to > different fonts. AFAICS, the Tamil supplement characters don't > interact typographically with normal Tamil characters, so a two-font > solution in this case is valid. In case my assumption is invalid you > should submit a bug to the Noto project :-) > > I agree it is somewhat sub optimal, but Emacs does not differentiate between supplement and "base" > characters, so setting different fonts for both of them does not seem possible. Of course, it's possible: set-fontset-font can accept ranges of codepoints and use different font for each range. It doesn't have to accept only script names. > There also seems to be no font which supports both Tamil and its supplement characters OOTB. That part is indeed sub-optimal, but not a catastrophe if they are displayed independently, i.e. there are no composition rules that cross the boundary between the blocks.