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 20:37:10 +0530	[thread overview]
Message-ID: <87lewqjh41.fsf@gmail.com> (raw)
In-Reply-To: <837d8a6wm7.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 31 Mar 2022 17:10:40 +0300")

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

>> From: Visuwesh <visuweshm@gmail.com>
>> Cc: 54646@debbugs.gnu.org
>> Date: Thu, 31 Mar 2022 19:14:23 +0530
>> 
>> I compiled an Emacs that is linked against HarfBuzz 3.3.2, and it shows
>> the same problem.
>
> The latest version of HarfBuzz is 4.2.0, although the chances that
> it's their problem are not great.
>
>> I managed to reproduce this in an emacs -Q session with that evaled but
>> it took me some time [*].  For each buffer that has Tamil text, I have
>> to zoom in (or none in the case of eww's header-line) different amounts
>> to see the clipping issue:
>> 
>>     · In init.el, I have to zoom in 7x times
>>     · In eww, I have to zoom in 1x time
>>     · In dired, I have to zoom in ~15x times
>> 
>> In the problematic emacs -Q session, current-iso639-language is 'en'.
>> 
>> [*] As in, it literally took me half an hour to observe the issue, and I
>>     cannot seem to figure out a quick way to reproduce it.
>
> Can you provide a recipe, as in: what file or URL to visit and/or what
> text to insert before starting the zoom commands?  Also, do you zoom
> in and out repeatedly, or just zoom in that many time?  And if it just
> takes a small number of zoom commands, why do you say it takes half an
> hour? what else needs to happen during that time to see the
> problematic display?
>

It looks like I was mistaken about the time it takes to reproduce; I was
simply not observant enough.  Here's a recipe that reliably reproduces
the problem,

    1. emacs -Q
    2. M-: (set-fontset-font t 'tamil "Kurinto Seri")
    3. M-s M-w https://www.dinamalar.com/news_detail.asp?id=2996410
    4. C-x C-+ a bunch of times and look for clipped text.  Sometimes
       this does not reproduce the first time, so you end up having to
       zoom out and in a few times.

> Thanks.

From the other mail:
> One more question: does this happen only with that particular font
> used for Tamil?

I tried Meera Inmai, Noto Serif Tamil, Noto Sans Tamil, Catamaran,
Kurinto Seri.  Out of which only Noto Serif and Kurinto Seri shows the
problem.  Maybe it is a font issue after all? but (Ungoogled) Chromium
which uses harfbuzz AFAICT renders the text just fine.





  parent reply	other threads:[~2022-03-31 15:07 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
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 [this message]
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=87lewqjh41.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.