From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?4KS44KSu4KWA4KSwIOCkuOCkv+CkguCkuSBTYW1lZXIgU2luZ2g=?= Newsgroups: gmane.emacs.devel Subject: Re: Not able to display \u110BD and \u110CD in Emacs Date: Fri, 29 Apr 2022 16:47:22 +0530 Message-ID: References: <83bkwkbfn1.fsf@gnu.org> <837d78bct1.fsf@gnu.org> <83zgk49n9l.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000005ee85805ddc93086" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7725"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 29 13:28:26 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 1nkOnS-0001tf-85 for ged-emacs-devel@m.gmane-mx.org; Fri, 29 Apr 2022 13:28:26 +0200 Original-Received: from localhost ([::1]:48582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkOnQ-00051V-Dy for ged-emacs-devel@m.gmane-mx.org; Fri, 29 Apr 2022 07:28:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43940) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkOcy-0000ao-S8 for emacs-devel@gnu.org; Fri, 29 Apr 2022 07:17:41 -0400 Original-Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]:42619) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkOcw-0005xL-Sy; Fri, 29 Apr 2022 07:17:36 -0400 Original-Received: by mail-qt1-x836.google.com with SMTP id t16so5408997qtr.9; Fri, 29 Apr 2022 04:17:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4qXDCY+K/oHJd2HhKMA1dpbmFDEaLiDOONNgfyRFTSk=; b=JLPC50ONWIk7pVMAhz9HrFmjs1q/YQ78/gPUmbhDkRyvoMJI5wDzFHCtU1iaa0b8Yp phkat42jc1GkLqWuoee6ffQMNy+RPa12yIij85JyvZokGaBHJJx9B86EKKUCF98jkItf D4jM0lMqObOEHGkYNNHDpmgqvHNgUI5Ofg2OYe527gsG0wgeVQZRLCB298G1gBBK+RHk Wh+RUh49IXZfqkMTMPz9wBjCb2n/oO7d0lNCWI2lhXAZdaeNzfAAF/07JtJLbSChGF2n fxanEAA+w2ijgeQ5vQ7ZEI/zrNL19WfWxX8XiwrWJRSvdNL6XgO1Prs1DwpJOkmgrcW1 EN5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4qXDCY+K/oHJd2HhKMA1dpbmFDEaLiDOONNgfyRFTSk=; b=O3TZ2BOVqnL6nnlRLf95xIHiR6fjZtTzqkDo/L9kAEILDFsqiwBwuJSqS0o9dEA2Vi f6ZluvapqP16SCF/+FUbN6Ok00VRHOrTL5h1J3sEuhoW6RNwJ306siAaErIcKmnfFoEX ZeLOhrgKlzni2ao/bj9go/YLYY3/685+2tJe2gnmrOsZbAiraQ4zIDfXSH4xrtsEfQuB wMExc1Hz9f/DWG47XThzI5CBQDDeGOLF7PpLuh3ZzbuN1k1PM56XUf/7pLnhKnFJiP+b XagBVdgD79RcAStMGH26ENdGALJRgtTxqwA0yK0h6UxVXyi0UPYkZ0Cfs5urgBMS7tfl 7cAQ== X-Gm-Message-State: AOAM533uI2M0W1SKHoZY5p4Wy6OMn2ckP/LoO6iiOTLb13JAOhSfXfOl WYhzTgcJwKhX8/Znms2JQOKILC4sQ1Fou2pQFOtU23igiZnFug== X-Google-Smtp-Source: ABdhPJzYdp8CBXafwYsek/ITZsrxUGuLGAGy8n3lfsx3YfB948y8d9n17JDvDY6nj2fbyAbtMDCJbUeqF1tKLQx+OoE= X-Received: by 2002:a05:622a:453:b0:2f3:3b6f:873c with SMTP id o19-20020a05622a045300b002f33b6f873cmr26436287qtx.511.1651231053243; Fri, 29 Apr 2022 04:17:33 -0700 (PDT) In-Reply-To: <83zgk49n9l.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::836; envelope-from=lumarzeli30@gmail.com; helo=mail-qt1-x836.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:288976 Archived-At: --0000000000005ee85805ddc93086 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable They seem to be working after changing the devanagari font to Noto Sans Kaithi but only for one digit though, also they do not appear when alone. Since the kaithi unicode does not have its own numerals and uses the devanagari ones, is there any way to only change the devanagari font when it is near the kaithi number signs? Here is the Text I entered, sorry for not including them earlier, I thought that mentioning their codepoints should be enough. KAITHI NUMBER SIGN: =F0=91=82=BD KAITHI NUMBER SIGN + DEVANAGARI 0: =F0=91=82=BD=E0=A5=A7 KAITHI NUMBER SIGN ABOVE: =F0=91=83=8D KAITHI NUMBER SIGN ABOVE + DEVANAGARI 0: =F0=91=83=8D=E0=A5=A6 On Fri, Apr 29, 2022 at 4:20 PM Eli Zaretskii wrote: > > From: =E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0 =E0=A4=B8=E0=A4=BF=E0=A4=82= =E0=A4=B9 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. > --0000000000005ee85805ddc93086 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
They seem to be working after changing the devanagari= font to Noto Sans Kaithi but only for one digit though, also they do not a= ppear when alone.
Since the kaithi unicode does not have its own = numerals and uses the devanagari ones, is there any way to only change the = devanagari font when it is near the kaithi number signs?

=
Here is the Text I entered, sorry for not including them earlier= , I thought that mentioning their codepoints should be enough.
KAITHI NUMBER SIGN: =F0=91=82=BD
KAITHI NUMBER SIGN + DEVANAGARI 0: = =F0=91=82=BD=E0=A5=A7

KAITHI NUMBER SIGN ABOVE: =F0=91=83=8D
KAIT= HI NUMBER SIGN ABOVE + DEVANAGARI 0: =F0=91=83=8D=E0=A5=A6
On Fri, Apr 29, 2= 022 at 4:20 PM Eli Zaretskii <eliz@gnu.o= rg> wrote:
lumarzeli30@gmail.com>
> Date: Fri, 29 Apr 2022 15:15:41 +0530
> Cc: emacs-dev= el@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]")
>=C2=A0 =C2=A0 =C2=A0 =C2=A0(non-consonant "[^\x1108D-\x110AF\x110B= 9]")
>=C2=A0 =C2=A0 =C2=A0 =C2=A0(vowel "[\x110B0-\x110B8\x110C2]")=
>=C2=A0 =C2=A0 =C2=A0 =C2=A0(anusvara-candrabindu "[\x11080\x11081]= ")
>=C2=A0 =C2=A0 =C2=A0 =C2=A0(virama "\x110B9")
>=C2=A0 =C2=A0 =C2=A0 =C2=A0(number-sign "\x110BD")
>=C2=A0 =C2=A0 =C2=A0 =C2=A0(number-sign-above "\x110CD")
>=C2=A0 =C2=A0 =C2=A0 =C2=A0(numerals "[\x966-\x96F]"))
>=C2=A0 =C2=A0(set-char-table-range composition-function-table
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0'(#x110B0 . #x110B8)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0(list (vector
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (concat consonant vowel anusvara-= candrabindu "?")
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1 'font-shape-gstring)))
>=C2=A0 =C2=A0(set-char-table-range composition-function-table
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0'(#x110B9 . #x110B9)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0(list (vector
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (concat consonant "\\(?:&quo= t; virama consonant "\\)+"
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 vowel= "*\\|" consonant virama)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1 'font-shape-gstring)))
>=C2=A0 =C2=A0(set-char-table-range composition-function-table
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0'(#x110BD . #x110BD)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0(list (vector
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (concat number-sign numerals)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0 'font-shape-gstring)))
>=C2=A0 =C2=A0(set-char-table-range composition-function-table
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0'(#x110CD . #x110CD)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0(list (vector
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (concat number-sign-above numeral= s)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 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?=C2=A0 What font is<= br> used for them in each case.

And again, you don't show the text that doesn't render correctly (a= s
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.=C2=A0 I asked you to show the<= br> actual text many times.
--0000000000005ee85805ddc93086--