From 0e2b70b6594f58243fdcc8b2739d21f3f36e4545 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0=20=E0=A4=B8=E0=A4=BF?= =?utf8?q?=E0=A4=82=E0=A4=B9=20Sameer=20Singh?= Date: Sun, 5 Jun 2022 17:09:40 +0530 Subject: [PATCH] Add a fallback font for Tamil Supplement characters * lisp/international/fontset.el (setup-default-fontset): Add and entry for "Noto Sans Tamil Supplement". (Bug#55807) --- lisp/international/fontset.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el index 74be7edc649..d07619cd80c 100644 --- a/lisp/international/fontset.el +++ b/lisp/international/fontset.el @@ -974,6 +974,12 @@ (set-fontset-font "fontset-default" 'emoji '("Noto Color Emoji" . "iso10646-1") nil 'prepend) + ;; This allows the display of tamil supplement characters. As these characters + ;; are pretty simple and do not need reordering, ligatures, vowel signs, virama + ;; etc. tml2 or other OTF tags are not needed here. + (set-fontset-font "fontset-default" '(#x11FC0 . #x11FFF) + '("Noto Sans Tamil Supplement" . "iso10646-1") nil 'append) + ;; Append CJK fonts for characters other than han, kana, cjk-misc. ;; Append fonts for scripts whose name is also a charset name. (let* ((data (build-default-fontset-data)) -- 2.39.2