emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug#55745: [PATCH] Add support for the Hanifi Rohingya script


From: समीर सिंह Sameer Singh
Subject: Re: bug#55745: [PATCH] Add support for the Hanifi Rohingya script
Date: Wed, 1 Jun 2022 19:24:52 +0530

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.

After merging Noto Sans Tamil and Noto Sans Tamil Supplement font files and adding some Tamil supplement codepoints to tamil in (script-representative-chars).
Emacs is now able to  display these characters.

I have attached the font file for anyone interested.

On Wed, Jun 1, 2022 at 7:02 PM Eli Zaretskii <eliz@gnu.org> wrote:
> From: समीर सिंह Sameer Singh <lumarzeli30@gmail.com>
> 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.

Attachment: NotoSansTamil-Regular.ttf
Description: font/ttf


reply via email to

[Prev in Thread] Current Thread [Next in Thread]