unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#55807: [PATCH] Add a fallback font for Tamil Supplement characters.
@ 2022-06-05 13:57 समीर सिंह Sameer Singh
  2022-06-05 14:09 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: समीर सिंह Sameer Singh @ 2022-06-05 13:57 UTC (permalink / raw)
  To: 55807


[-- Attachment #1.1: Type: text/plain, Size: 189 bytes --]

This is the patch to add a font for Tamil supplement characters as
discussed earlier.

I couldn't fit the commit message in one line, so if I did anything wrong
please tell me.

Thank You.

[-- Attachment #1.2: Type: text/html, Size: 293 bytes --]

[-- Attachment #2: 0001-lisp-international-fontset.el-setup-default-fontset.patch --]
[-- Type: text/x-patch, Size: 1358 bytes --]

From cad05fe6dd8c136754e9264766dc0f2748fda921 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0=20=E0=A4=B8=E0=A4=BF?=
 =?UTF-8?q?=E0=A4=82=E0=A4=B9=20Sameer=20Singh?= <lumarzeli30@gmail.com>
Date: Sun, 5 Jun 2022 17:09:40 +0530
Subject: [PATCH] ; * lisp/international/fontset.el (setup-default-fontset)

Add a fallback font for Tamil supplement.
---
 lisp/international/fontset.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el
index 74be7edc64..d07619cd80 100644
--- a/lisp/international/fontset.el
+++ b/lisp/international/fontset.el
@@ -974,6 +974,12 @@ setup-default-fontset
   (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.36.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* bug#55807: [PATCH] Add a fallback font for Tamil Supplement characters.
  2022-06-05 13:57 bug#55807: [PATCH] Add a fallback font for Tamil Supplement characters समीर सिंह Sameer Singh
@ 2022-06-05 14:09 ` Eli Zaretskii
  2022-06-05 14:13   ` समीर सिंह Sameer Singh
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2022-06-05 14:09 UTC (permalink / raw)
  To: समीर सिंह Sameer Singh
  Cc: 55807-done

> From: समीर सिंह Sameer Singh
>  <lumarzeli30@gmail.com>
> Date: Sun, 5 Jun 2022 19:27:04 +0530
> 
> This is the patch to add a font for Tamil supplement characters as discussed earlier.
> 
> I couldn't fit the commit message in one line, so if I did anything wrong please tell me.

I installed it with a couple of minor changes.

Thanks.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#55807: [PATCH] Add a fallback font for Tamil Supplement characters.
  2022-06-05 14:09 ` Eli Zaretskii
@ 2022-06-05 14:13   ` समीर सिंह Sameer Singh
  2022-06-05 14:17     ` समीर सिंह Sameer Singh
  2022-06-05 14:18     ` Eli Zaretskii
  0 siblings, 2 replies; 6+ messages in thread
From: समीर सिंह Sameer Singh @ 2022-06-05 14:13 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 55807-done

[-- Attachment #1: Type: text/plain, Size: 682 bytes --]

Great, thanks!

Also I recently learned about C-x 4 a from a post by Lars on the mailing
list, but can you describe how to include the changes to the commit
message, is it a simple copy/paste or something else?

On Sun, Jun 5, 2022 at 7:40 PM Eli Zaretskii <eliz@gnu.org> wrote:

> > From: समीर सिंह Sameer Singh
> >  <lumarzeli30@gmail.com>
> > Date: Sun, 5 Jun 2022 19:27:04 +0530
> >
> > This is the patch to add a font for Tamil supplement characters as
> discussed earlier.
> >
> > I couldn't fit the commit message in one line, so if I did anything
> wrong please tell me.
>
> I installed it with a couple of minor changes.
>
> Thanks.
>

[-- Attachment #2: Type: text/html, Size: 1093 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#55807: [PATCH] Add a fallback font for Tamil Supplement characters.
  2022-06-05 14:13   ` समीर सिंह Sameer Singh
@ 2022-06-05 14:17     ` समीर सिंह Sameer Singh
  2022-06-05 14:18     ` Eli Zaretskii
  1 sibling, 0 replies; 6+ messages in thread
From: समीर सिंह Sameer Singh @ 2022-06-05 14:17 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 55807-done

[-- Attachment #1: Type: text/plain, Size: 837 bytes --]

I use magit btw.

On Sun, Jun 5, 2022 at 7:43 PM समीर सिंह Sameer Singh <lumarzeli30@gmail.com>
wrote:

> Great, thanks!
>
> Also I recently learned about C-x 4 a from a post by Lars on the mailing
> list, but can you describe how to include the changes to the commit
> message, is it a simple copy/paste or something else?
>
> On Sun, Jun 5, 2022 at 7:40 PM Eli Zaretskii <eliz@gnu.org> wrote:
>
>> > From: समीर सिंह Sameer Singh
>> >  <lumarzeli30@gmail.com>
>> > Date: Sun, 5 Jun 2022 19:27:04 +0530
>> >
>> > This is the patch to add a font for Tamil supplement characters as
>> discussed earlier.
>> >
>> > I couldn't fit the commit message in one line, so if I did anything
>> wrong please tell me.
>>
>> I installed it with a couple of minor changes.
>>
>> Thanks.
>>
>

[-- Attachment #2: Type: text/html, Size: 1514 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#55807: [PATCH] Add a fallback font for Tamil Supplement characters.
  2022-06-05 14:13   ` समीर सिंह Sameer Singh
  2022-06-05 14:17     ` समीर सिंह Sameer Singh
@ 2022-06-05 14:18     ` Eli Zaretskii
  2022-06-05 14:22       ` समीर सिंह Sameer Singh
  1 sibling, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2022-06-05 14:18 UTC (permalink / raw)
  To: समीर सिंह Sameer Singh
  Cc: 55807

> From: समीर सिंह Sameer Singh <lumarzeli30@gmail.com>
> Date: Sun, 5 Jun 2022 19:43:54 +0530
> Cc: 55807-done@debbugs.gnu.org
> 
> Also I recently learned about C-x 4 a from a post by Lars on the mailing list, but can you describe how to
> include the changes to the commit message, is it a simple copy/paste or something else?

Copy/paste is what I do, yes.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#55807: [PATCH] Add a fallback font for Tamil Supplement characters.
  2022-06-05 14:18     ` Eli Zaretskii
@ 2022-06-05 14:22       ` समीर सिंह Sameer Singh
  0 siblings, 0 replies; 6+ messages in thread
From: समीर सिंह Sameer Singh @ 2022-06-05 14:22 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 55807

[-- Attachment #1: Type: text/plain, Size: 507 bytes --]

Ok, understood.

Thanks.

On Sun, Jun 5, 2022 at 7:49 PM Eli Zaretskii <eliz@gnu.org> wrote:

> > From: समीर सिंह Sameer Singh <lumarzeli30@gmail.com>
> > Date: Sun, 5 Jun 2022 19:43:54 +0530
> > Cc: 55807-done@debbugs.gnu.org
> >
> > Also I recently learned about C-x 4 a from a post by Lars on the mailing
> list, but can you describe how to
> > include the changes to the commit message, is it a simple copy/paste or
> something else?
>
> Copy/paste is what I do, yes.
>

[-- Attachment #2: Type: text/html, Size: 968 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-06-05 14:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-05 13:57 bug#55807: [PATCH] Add a fallback font for Tamil Supplement characters समीर सिंह Sameer Singh
2022-06-05 14:09 ` Eli Zaretskii
2022-06-05 14:13   ` समीर सिंह Sameer Singh
2022-06-05 14:17     ` समीर सिंह Sameer Singh
2022-06-05 14:18     ` Eli Zaretskii
2022-06-05 14:22       ` समीर सिंह Sameer Singh

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).