<div dir="ltr">NotoSansArabic has no special rules to make the U+0600 character work properly.<div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">behdad<br><a href="http://behdad.org/" target="_blank">http://behdad.org/</a></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Dec 2, 2022 at 1:10 PM Behdad Esfahbod <<a href="mailto:behdad@behdad.org">behdad@behdad.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Madhu,<div><br></div><div>I checked the Kaithi font. It has no rules for U+110BC character. But if you use U+110BD you get the desired result.</div><div><br></div><div>I have not checked the Arabic font.</div><div><br clear="all"><div><div dir="ltr">behdad<br><a href="http://behdad.org/" target="_blank">http://behdad.org/</a></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 30, 2022 at 2:15 AM Madhu <<a href="mailto:enometh@meer.net" target="_blank">enometh@meer.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">In April 2002, Sameer Singh posted a message on emacs-devel where he<br>
demonstrated the use of harfbuzz numerals with the kaithi script<br>
<br>
<a href="https://lists.gnu.org/archive/html/emacs-devel/2022-04/msg01297.html" rel="noreferrer" target="_blank">https://lists.gnu.org/archive/html/emacs-devel/2022-04/msg01297.html</a><br>
to yield this image:<br>
<br>
[1] <a href="https://lists.gnu.org/archive/html/emacs-devel/2022-04/png4ClBZc1zV4.png" rel="noreferrer" target="_blank">https://lists.gnu.org/archive/html/emacs-devel/2022-04/png4ClBZc1zV4.png</a><br>
<br>
There the first glyph spans the remaining chacracters when composed.<br>
<br>
I tried to reproduce it and showed my work on this message<br>
<br>
<a href="https://lists.gnu.org/archive/html/emacs-devel/2022-05/msg00341.html" rel="noreferrer" target="_blank">https://lists.gnu.org/archive/html/emacs-devel/2022-05/msg00341.html</a><br>
<br>
but I only get<br>
<br>
[2] <a href="https://lists.gnu.org/archive/html/emacs-devel/2022-05/pngTFsflcCrfU.png" rel="noreferrer" target="_blank">https://lists.gnu.org/archive/html/emacs-devel/2022-05/pngTFsflcCrfU.png</a><br>
The first character does not span the remaining digit characters.<br>
<br>
Can anyone tell me what I might be missing?<br>
<br>
1. 2.txt has code points 0x110BC 0x0967 0x0966 0x096E<br>
2. hb-view --font-file=$HOME/.fonts/NotoSansKaithi-Regular.ttf --text-file=2.txt > 2.png<br>
<br>
This produces the image in the above mentioned url [2] . I believe it should look like [1].<br>
<br>
Similar tests for arabic numbers<br>
a text file arabic-num.txt with code points 0x0600 0x31 0x32 0x33<br>
and a command<br>
hb-view --font-file=$HOME/.fonts/NotoSansArabic-Regular.ttf --text-file=arabic-num.txt --output-file=arabic-num.png<br>
<br>
produces a file where the first character does not span the remaining<br>
characters.<br>
<br>
I believe I used the same font-files as Sameer did:<br>
<br>
-rw-r--r-- 1 madhu users 260740 Mar 24 2020 NotoSansArabic-Regular.ttf<br>
-rw-r--r-- 1 madhu users 87260 Mar 24 2020 NotoSansKaithi-Regular.ttf<br>
<br>
---Madhu<br>
</blockquote></div>
</blockquote></div>