GNU bug report logs - #53729
29.0.50; Tamil text not shaped in modeline

Previous Next

Package: emacs;

Reported by: Visuwesh <visuweshm <at> gmail.com>

Date: Wed, 2 Feb 2022 16:57:01 UTC

Severity: normal

Found in version 29.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #29 received at 53729 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Visuwesh <visuweshm <at> gmail.com>
Cc: 53729 <at> debbugs.gnu.org
Subject: Re: bug#53729: 29.0.50; Tamil text not shaped in modeline
Date: Sun, 13 Feb 2022 15:53:37 +0200
> From: Visuwesh <visuweshm <at> gmail.com>
> Cc: 53729 <at> debbugs.gnu.org
> Date: Thu, 10 Feb 2022 18:39:42 +0530
> 
> I tried all the Tamil fonts in Google fonts and to ease the checking
> process, I wrote the following Elisp snippet:
> 
>     (with-current-buffer (get-buffer-create "அக்னிச்சிறகுகள்.pdf")
>       (switch-to-buffer-other-window "அக்னிச்சிறகுகள்.pdf")
>       (let ((fonts '("Arima Madurai"
>                      "Baloo Thambi 2"
>                      "Catamaran"
>                      "Coiny"
>                      "Hind Madurai"
>                      "Kavivanar"
>                      "Meera Inimai"
>                      "Mukta Malar"
>                      "Oi"
>                      "Pavanam"
>                      "Noto Sans Tamil"
>                      "Noto Serif Tamil"
>                      "Lohit Tamil"))
>             (i 0)
>             (die nil))
>         (while (not die)
>           (erase-buffer)
>           (insert "அக்னிச்சிறகுகள்")
>           (set-fontset-font "fontset-default" 'tamil (cons (nth i fonts) "iso10646-1"))
>           (pcase (read-char-choice
>                   (format "%s ([n]ext, [p]rev, [q]uit): " (nth i fonts))
>                   '(?n ?q ?p))
>             (?q (setq die t))
>             (?n (setq i (mod (1+ i) (length fonts))))
>             (?p (setq i (mod (1- i) (length fonts))))))))
> 
> and the buffer name in the modeline has the right shaping!  This is the
> case for _every_ font I tried: including Noto Serif Tamil.  But if I
> open a file named "அக்னிச்சிறகுகள்.pdf", the shaping is as in the OP.

What happens if you turn off auto-composition mode before repeating
the above experiment?  Do you see any difference in the buffer name
produced by you and the buffer name produced by Emacs when visiting
that file?




This bug report was last modified 3 years and 88 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.