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: bug#55745: [PATCH] Add support for the Hanifi Rohingya script Date: Wed, 01 Jun 2022 16:32:39 +0300 Message-ID: <8335goh5l4.fsf@gnu.org> References: <83czfsh9aa.fsf@gnu.org> <838rqgh7cm.fsf@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="14038"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 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 15:35:55 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 1nwOVv-0003VR-E5 for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Jun 2022 15:35:55 +0200 Original-Received: from localhost ([::1]:35180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwOVu-00064A-97 for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Jun 2022 09:35:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwOSf-0002Le-Lf for emacs-devel@gnu.org; Wed, 01 Jun 2022 09:32:34 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34282) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwOSe-0001N7-VO; Wed, 01 Jun 2022 09:32:33 -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=SPO1LTibU6aeH6bXXbGB6yr5pevcwJm1HQK51phNp5U=; b=fRnJHoQqadYlAzvcb6mw NtQm1HBgvbRE8oRjAOXxdJqLM5tfJmsUXjt29gPqk005Ep36aELl7Lp+SIGLu8s+BTZPFK1riRwlv 2vUw77XU06CqnPl5Mzh9TXXBw+Yvt0/HRDgnlLfBwmbGZnk9XBAPIDzC4/tTyaFkSbEMGzKy8QQOA lFrWeV2/jqwYuBpEMxVgg0Am+jEatxn4wtFVc6xCKeVkTg2Y9hZHTz2XNl40OG5OmodKldCH6a5wK 8dfDfwbmLe2c3vmRVHSYump3sIyJM315DfrBxxlAB/WIq6PoWhjumjDBSGSebwSgLpf0jB0XY1pcD f8KC3oqENDvS0Q==; Original-Received: from [87.69.77.57] (port=3751 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 1nwOSe-000169-9Z; Wed, 01 Jun 2022 09:32:32 -0400 In-Reply-To: (message from =?utf-8?B?4KS44KSu4KWA4KSwIOCkuOCkv+CkguCkuQ==?= Sameer Singh on Wed, 1 Jun 2022 18:55:17 +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:290509 Archived-At: > From: समीर सिंह Sameer Singh > Date: Wed, 1 Jun 2022 18:55:17 +0530 > Cc: emacs-devel@gnu.org > > Does the font you use support those characters? Does it support Tamil > in general? > > Yes the font supports the supplement characters, but does not support Tamil in general. Then I think this is the problem. Tamil requires special support from the font, as evidenced by this snippet from fontset.el: (tamil ,(font-spec :registry "iso10646-1" :otf '(tml2 nil (akhn))) ,(font-spec :registry "iso10646-1" :otf '(taml nil (akhn)))) As you see, we request special OTF features, and thus by default will not accept a font that doesn't have them. You can override that by customizing the fontset via set-fontset-font. Are you aware of any good Tamil fonts that support the Tamil Supplemental block? I don't seem to be able to find any such fonts. > > I even added a separate tamil-supplement script to (script-representative-chars) but nothing worked. > > There's no tamil-supplement script, though. > > Unicode defines one, but AFAIK Emacs removes the "supplement" word from these characters. I think it is > defined in admin/unidata/blocks.awk Yes, that's what produces charscript.el.