all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Visuwesh <visuweshm@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 54646@debbugs.gnu.org
Subject: bug#54646: 29.0.50; set-fontset-font and font clipping issues
Date: Thu, 31 Mar 2022 14:15:41 +0530	[thread overview]
Message-ID: <87czi27bnu.fsf@gmail.com> (raw)
In-Reply-To: <83lewq7g1j.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 31 Mar 2022 10:11:04 +0300")

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

[வியாழன் மார்ச் 31, 2022] Eli Zaretskii wrote:

>> From: Visuwesh <visuweshm@gmail.com>
>> Cc: 54646@debbugs.gnu.org
>> Date: Thu, 31 Mar 2022 12:33:47 +0530
>> 
>> >   . go to the problematically-displayed text and type "C-u C-x =",
>> >     then compare what you see with the results of "C-u C-x =" for
>> >     the same text when it is correctly displayed
>> >
>> 
>> The *Help* buffer also has incorrectly shaped text.
>
> That's not what I meant.  I meant to save the information from *Help*
> when the text is displayed incorrectly, and then compare it with what
> "C-u C-x =" produces when the same text is displayed correctly
> (presumably, if you restart Emacs?).
>

I have attached three text files that have the content of the *Help*
buffer in the three cases:

    · correct: from emacs -Q which does not exhibit the problem.

    · incorrect: from an non-daemon Emacs session that exhibits the
      problem.

    · correct_config: from a fresh Emacs session with my init.el loaded
      that does not exhibit the problem.

>> >> [2] Modifying the fontset in `server-after-make-frame-hook' does not
>> >>     make a difference.  I don't see the issue when I do not use the
>> >>     daemon but I believe I haven't run the non-daemon session long
>> >>     enough.
>> >
>> > Then please try running such a non-daemon session longer.  It is
>> > important to know whether this is at all related to daemon.
>> >
>> 
>> Yes, I will do and see if there are any changes.
>
> Thanks.

Looks like this issue has nothing to do with me using the daemon.  If I
go about using Emacs like I usually do, it reproduces in a non-daemon
session as well.  Here's all the things I did in this session (AFAICR):

    · Started a process in the background using the doas TRAMP method.

    · Scrolled around in my init.el file which has Tamil text in the
      hopes of reproducing the issue.  I also increased and decreased
      the buffer text size a few times.

    · Opened gnus and sent the previous reply.  I'm currently writing
      the mail from an Emacs session that exhibits the problem.

Also, the mode line text is rendered similar to the text in-buffer:


[-- Attachment #2: screenshot_202203311415.png --]
[-- Type: image/png, Size: 29955 bytes --]

[-- Attachment #3: Type: text/plain, Size: 55 bytes --]


So far M-: (clear-composition-cache) has not helped.


[-- Attachment #4: emacs -Q C-u C-x = --]
[-- Type: text/plain, Size: 1231 bytes --]

             position: 5673 of 5691 (100%), column: 49
            character: க (displayed as க) (codepoint 2965, #o5625, #xb95)
              charset: unicode (Unicode (ISO10646))
code point in charset: 0x0B95
               script: tamil
               syntax: w 	which means: word
             category: .:Base, L:Strong L2R
             to input: type "C-x 8 RET b95" or "C-x 8 RET TAMIL LETTER KA"
          buffer code: #xE0 #xAE #x95
            file code: #xE0 #xAE #x95 (encoded by coding system utf-8-unix)
              display: composed to form "க்" (see below)

Composed with the following character(s) "்" using this font:
  ftcrhb:-Goss-Kurinto Seri-regular-normal-normal-*-13-*-*-*-*-0-iso10646-1
by these glyphs:
  [0 1 2965 23479 11 0 12 7 0 nil]
  [0 1 3021 23505 0 -1 1 10 -8 [-5 0 0]]
with these character(s):
  ் (#xbcd) TAMIL SIGN VIRAMA

Character code properties: customize what to show
  name: TAMIL LETTER KA
  general-category: Lo (Letter, Other)
  decomposition: (2965) ('க')

There are text properties here:
  dired-filename       t
  fontified            t
  help-echo            "mouse-2: visit this file in other window"
  mouse-face           highlight

[-- Attachment #5: emacs personal config C-u C-x = --]
[-- Type: text/plain, Size: 1231 bytes --]

             position: 5505 of 5523 (100%), column: 46
            character: க (displayed as க) (codepoint 2965, #o5625, #xb95)
              charset: unicode (Unicode (ISO10646))
code point in charset: 0x0B95
               script: tamil
               syntax: w 	which means: word
             category: .:Base, L:Strong L2R
             to input: type "C-x 8 RET b95" or "C-x 8 RET TAMIL LETTER KA"
          buffer code: #xE0 #xAE #x95
            file code: #xE0 #xAE #x95 (encoded by coding system utf-8-unix)
              display: composed to form "க்" (see below)

Composed with the following character(s) "்" using this font:
  ftcrhb:-Goss-Kurinto Seri-regular-normal-normal-*-14-*-*-*-*-0-iso10646-1
by these glyphs:
  [0 1 2965 23479 12 0 12 8 0 nil]
  [0 1 3021 23505 0 -1 1 11 -9 [-6 0 0]]
with these character(s):
  ் (#xbcd) TAMIL SIGN VIRAMA

Character code properties: customize what to show
  name: TAMIL LETTER KA
  general-category: Lo (Letter, Other)
  decomposition: (2965) ('க')

There are text properties here:
  dired-filename       t
  fontified            t
  help-echo            "mouse-2: visit this file in other window"
  mouse-face           highlight

[-- Attachment #6: emacs problematic C-u C-x = --]
[-- Type: text/plain, Size: 1247 bytes --]

             position: 5505 of 5523 (100%), column: 46
            character: க (displayed as க) (codepoint 2965, #o5625, #xb95)
              charset: unicode (Unicode (ISO10646))
code point in charset: 0x0B95
               script: tamil
               syntax: w 	which means: word
             category: .:Base, L:Strong L2R
             to input: type "C-x 8 RET b95" or "C-x 8 RET TAMIL LETTER KA"
          buffer code: #xE0 #xAE #x95
            file code: #xE0 #xAE #x95 (encoded by coding system utf-8-unix)
              display: composed to form "க்" (see below)

Composed with the following character(s) "்" using this font:
  ftcrhb:-Goss-Kurinto Seri-regular-normal-normal-*-14-*-*-*-*-0-iso10646-1
by these glyphs:
  [0 1 2965 23479 12 0 12 8 0 [0 0 20]]
  [0 1 3021 23505 0 -1 1 11 -9 [-14 0 0]]
with these character(s):
  ் (#xbcd) TAMIL SIGN VIRAMA

Character code properties: customize what to show
  name: TAMIL LETTER KA
  general-category: Lo (Letter, Other)
  decomposition: (2965) ('க')

There are text properties here:
  dired-filename       t
  fontified            t
  help-echo            "mouse-2: visit this file in other window"
  mouse-face           highlight

[back]

  parent reply	other threads:[~2022-03-31  8:45 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-31  3:37 bug#54646: 29.0.50; set-fontset-font and font clipping issues Visuwesh
2022-03-31  5:34 ` Eli Zaretskii
2022-03-31  7:03   ` Visuwesh
2022-03-31  7:11     ` Eli Zaretskii
2022-03-31  7:35       ` Visuwesh
2022-03-31  8:45       ` Visuwesh [this message]
2022-03-31  9:04         ` Eli Zaretskii
2022-03-31  9:29           ` Visuwesh
2022-03-31  9:41             ` Eli Zaretskii
2022-03-31 12:16               ` Visuwesh
2022-03-31 14:04                 ` Eli Zaretskii
2022-03-31 13:44               ` Visuwesh
2022-03-31 14:10                 ` Eli Zaretskii
2022-03-31 14:12                   ` Eli Zaretskii
2022-03-31 15:07                   ` Visuwesh
2022-03-31 16:49                     ` Eli Zaretskii
2022-03-31 17:38                       ` Robert Pluim
2022-04-01  1:05                         ` Visuwesh
2022-04-01  3:08                           ` Visuwesh
2022-04-01  8:49                             ` Robert Pluim
2022-04-01 10:54                               ` Eli Zaretskii
2022-04-01 11:38                                 ` Visuwesh
2022-04-01 12:14                                   ` Eli Zaretskii
2022-04-01 13:10                                     ` Visuwesh
2022-04-01 14:19                                       ` Eli Zaretskii
2022-04-01 14:58                                 ` Visuwesh
2022-04-01 15:27                                   ` Eli Zaretskii
2022-04-01 16:40                                     ` Visuwesh
2022-04-01 17:58                                       ` Eli Zaretskii
2022-04-03  9:15                                         ` Visuwesh
2022-04-03 10:06                                           ` Eli Zaretskii
2022-04-03 10:26                                             ` Visuwesh
2022-04-03 10:50                                               ` Eli Zaretskii
2022-04-03 11:10                                                 ` Visuwesh
2022-04-21 14:50                                                   ` Visuwesh
2022-04-22  7:23                                                     ` Eli Zaretskii
2022-04-22 10:46                                                       ` Visuwesh
2022-04-22 10:48                                                         ` Eli Zaretskii
2022-06-11 13:54                                                           ` Visuwesh
2022-06-12  1:34                                                             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-12  5:55                                                               ` Eli Zaretskii
2022-06-12  4:49                                                             ` Visuwesh
2022-06-12  5:53                                                             ` Eli Zaretskii
2022-06-12  7:47                                                               ` Visuwesh
2022-06-12 10:16                                                                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-08 11:48                                                             ` Visuwesh
2022-10-08 12:42                                                               ` Eli Zaretskii
2022-10-08 12:53                                                                 ` Visuwesh
2022-10-08 13:00                                                                   ` Eli Zaretskii
2022-10-09 11:31                                                                   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-09 11:59                                                                     ` Visuwesh
2022-03-31  7:48     ` Eli Zaretskii
2022-03-31  8:47       ` Visuwesh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87czi27bnu.fsf@gmail.com \
    --to=visuweshm@gmail.com \
    --cc=54646@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.