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: Not able to display \u110BD and \u110CD in Emacs Date: Fri, 29 Apr 2022 13:50:30 +0300 Message-ID: <83zgk49n9l.fsf@gnu.org> References: <83bkwkbfn1.fsf@gnu.org> <837d78bct1.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="19445"; 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 Fri Apr 29 13:22:47 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 1nkOhy-0004ws-S2 for ged-emacs-devel@m.gmane-mx.org; Fri, 29 Apr 2022 13:22:47 +0200 Original-Received: from localhost ([::1]:40300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkOhx-0007Cs-G0 for ged-emacs-devel@m.gmane-mx.org; Fri, 29 Apr 2022 07:22:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37964) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkOCi-0005Qy-RR for emacs-devel@gnu.org; Fri, 29 Apr 2022 06:50:30 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45452) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkOCi-0000tY-Gt; Fri, 29 Apr 2022 06:50:28 -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=inrohSkcy+mx4gnyc8zjUlIq1dWho2EjKRjXJBFHQ0E=; b=qaqD4GfJ2Qrs/eGtn4vm FDrTtiHdpSmQ7Kmcc/A4Arl3JTG1PI6mFQSHVElX+OXS7KCfbzGmEidJmDtMWrYXOQ4dzlrIN/DGe pwyX+ZgvMdBqlJNNT1ZWxXdC6ErgTpO7oNljtgjhzuLDwE9pa58UQlv5SJzOOP+lgceI2qjcBd6/5 3WV3vIaIVVjuGukvFFIzqhs++LWuNqYG7YYBDStsfc+JyOEPkOemoiFwT1IMnvWDOzKLrUhUQ10/L tlPXD+VhZbwfY4C5ExwWd+J8bsG6lJw7j26JPCxEjtMBvdJpoyPf+twQsQGEsVGT8aOJPp9MUEIHF Eymd5lYi7xSb7A==; Original-Received: from [87.69.77.57] (port=1627 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 1nkOCh-0003XV-O1; Fri, 29 Apr 2022 06:50:28 -0400 In-Reply-To: (message from =?utf-8?B?4KS44KSu4KWA4KSwIOCkuOCkv+CkguCkuQ==?= Sameer Singh on Fri, 29 Apr 2022 15:15:41 +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:288974 Archived-At: > From: समीर सिंह Sameer Singh > Date: Fri, 29 Apr 2022 15:15:41 +0530 > Cc: emacs-devel@gnu.org > > I did the changes mentioned. > 1. Added the square brackets > 2. Changed the 1 to a 0 > > ;; Kaithi composition rules > (let ((consonant "[\x1108D-\x110AF]") > (non-consonant "[^\x1108D-\x110AF\x110B9]") > (vowel "[\x110B0-\x110B8\x110C2]") > (anusvara-candrabindu "[\x11080\x11081]") > (virama "\x110B9") > (number-sign "\x110BD") > (number-sign-above "\x110CD") > (numerals "[\x966-\x96F]")) > (set-char-table-range composition-function-table > '(#x110B0 . #x110B8) > (list (vector > (concat consonant vowel anusvara-candrabindu "?") > 1 'font-shape-gstring))) > (set-char-table-range composition-function-table > '(#x110B9 . #x110B9) > (list (vector > (concat consonant "\\(?:" virama consonant "\\)+" > vowel "*\\|" consonant virama) > 1 'font-shape-gstring))) > (set-char-table-range composition-function-table > '(#x110BD . #x110BD) > (list (vector > (concat number-sign numerals) > 0 'font-shape-gstring))) > (set-char-table-range composition-function-table > '(#x110CD . #x110CD) > (list (vector > (concat number-sign-above numerals) > 0 'font-shape-gstring)))) > > Now when typed alone they do not appear but when written with numbers, they appear as NOTDEF glyphs Are you sure the font supports all of those characters? What font is used for them in each case. And again, you don't show the text that doesn't render correctly (as characters), so it's impossible to investigate the cases you tried. Images help to see how stuff is displayed, but they cannot be used to reliably figure out what text was displayed. I asked you to show the actual text many times.