emacs-devel
[Top][All Lists]
Advanced

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

Re: Tamil fonts (Was: bug#55745: [PATCH] Add support for the Hanifi Rohi


From: Eli Zaretskii
Subject: Re: Tamil fonts (Was: bug#55745: [PATCH] Add support for the Hanifi Rohingya script)
Date: Wed, 01 Jun 2022 20:39:42 +0300

> From: समीर सिंह Sameer Singh <lumarzeli30@gmail.com>
> Date: Wed, 1 Jun 2022 22:25:52 +0530
> Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
> 
>  This is a sub-optimal solution IMHO.  There will always be cases where
>  a script is split into multiple Unicode blocks, probably mapped to
>  different fonts.  AFAICS, the Tamil supplement characters don't
>  interact typographically with normal Tamil characters, so a two-font
>  solution in this case is valid.  In case my assumption is invalid you
>  should submit a bug to the Noto project :-)
> 
> I agree it is somewhat sub optimal, but Emacs does not differentiate between 
> supplement and "base"
> characters, so setting different fonts for both of them does not seem 
> possible.

Of course, it's possible: set-fontset-font can accept ranges of
codepoints and use different font for each range.  It doesn't have to
accept only script names.

> There also seems to be no font which supports both Tamil and its supplement 
> characters OOTB.

That part is indeed sub-optimal, but not a catastrophe if they are
displayed independently, i.e. there are no composition rules that
cross the boundary between the blocks.



reply via email to

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