From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#54646: 29.0.50; set-fontset-font and font clipping issues Date: Thu, 31 Mar 2022 20:37:10 +0530 Message-ID: <87lewqjh41.fsf@gmail.com> References: <875ynuokqt.fsf@gmail.com> <83r16i7kim.fsf@gnu.org> <871qyiob70.fsf@gmail.com> <83lewq7g1j.fsf@gnu.org> <87czi27bnu.fsf@gmail.com> <83h77e7as6.fsf@gnu.org> <874k3e79mc.fsf@gmail.com> <83fsmy793g.fsf@gnu.org> <87v8vu5j9k.fsf@gmail.com> <837d8a6wm7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27217"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 54646@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 31 17:08:11 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nZwPD-0006sr-Oi for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 31 Mar 2022 17:08:11 +0200 Original-Received: from localhost ([::1]:46118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZwPC-0000fY-CY for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 31 Mar 2022 11:08:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZwP4-0000cl-A4 for bug-gnu-emacs@gnu.org; Thu, 31 Mar 2022 11:08:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45608) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZwP4-0001DK-19 for bug-gnu-emacs@gnu.org; Thu, 31 Mar 2022 11:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nZwP3-0000Yi-NG for bug-gnu-emacs@gnu.org; Thu, 31 Mar 2022 11:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 31 Mar 2022 15:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54646 X-GNU-PR-Package: emacs Original-Received: via spool by 54646-submit@debbugs.gnu.org id=B54646.16487392552109 (code B ref 54646); Thu, 31 Mar 2022 15:08:01 +0000 Original-Received: (at 54646) by debbugs.gnu.org; 31 Mar 2022 15:07:35 +0000 Original-Received: from localhost ([127.0.0.1]:39505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZwOc-0000Xw-Rk for submit@debbugs.gnu.org; Thu, 31 Mar 2022 11:07:35 -0400 Original-Received: from mail-pg1-f194.google.com ([209.85.215.194]:43561) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZwOb-0000Xc-2Z for 54646@debbugs.gnu.org; Thu, 31 Mar 2022 11:07:33 -0400 Original-Received: by mail-pg1-f194.google.com with SMTP id c2so59578pga.10 for <54646@debbugs.gnu.org>; Thu, 31 Mar 2022 08:07:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=j8XaHkLGSApwnhM3Tz89jHfOzGB5aBZDnBZwRrArCmw=; b=hItspvAHSyrdH5iB22t3xfGfI4xM4x72oWMTBNAU0bhRDGUAzuqPNbdaEVhZqYKB29 RTsVGzrCe1lkORrcQGvkTV/jfCLH9vdRTVPb1sdJPE8T+bddPfhoOaBokrDEnTUJeyDC xFFZ9ogCrN+vrP/gdQgJzIfc+Zl8uj8MvbI8Qwk7+HUyFqYC1j312Zx2+O56hlMgHcPH xqcJJoomJHffzehKa8sfm1Q2auKcnb+p/Dm0Acm/lGqSdw7wo3zssiDsKBVUA3E9ELXk 7zUwt6wRN2o1Ge8/isYfeadacEJGFxIcUPDWG0naBie0cH+Oix3PmW1qyxO1vqoUpu88 6ykQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=j8XaHkLGSApwnhM3Tz89jHfOzGB5aBZDnBZwRrArCmw=; b=UD0GltvB/DX+D7+zxvTzsRW/brUzERumD4aJmUdODVMxxlF8+i7ghky2gLw2139TTw UDt5O/Gv3T+jNSn5lAgJYB7u8p9iuiQh6fUKmyxYCJ3FOPWapFSQbqmm4Mzl4gqEb6Un UjBzYxHeFhtjmY/HzBO1JkeCdV1Wc9IjctmTXt62gp9TotEKav9gLshBxFE/eC/U2wvp Td5rtLVhjLrPX99YpNLtH4ETc6tSXJnLO1ibrbJ8xamAsbGyDscHI4SotS5wX9TheyQ2 J265iIQgds2PmKjAKIS98E2/7bn7uHFPWrSYqe2kiMHX0E+FcSguG5OjkNEnRIuQfYJZ V3yQ== X-Gm-Message-State: AOAM531wTpV6WatfuW+ZUctJ9DXKxeG73WYr+OnTxBrO/oN8J3z9I4+7 Qqr4xeZlCBn/yGbYtuS0yM4= X-Google-Smtp-Source: ABdhPJwrjgEUY6KauEhFMsyAOcFRm4qemZzttBypSh9LgbiEqhlDcOOuuOtJyErRZ0OorHNHx377uw== X-Received: by 2002:a63:d90f:0:b0:385:f726:800f with SMTP id r15-20020a63d90f000000b00385f726800fmr10997669pgg.418.1648739247166; Thu, 31 Mar 2022 08:07:27 -0700 (PDT) Original-Received: from localhost ([118.185.152.162]) by smtp.gmail.com with ESMTPSA id r11-20020a17090b050b00b001c741fd4890sm10085003pjz.9.2022.03.31.08.07.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Mar 2022 08:07:26 -0700 (PDT) In-Reply-To: <837d8a6wm7.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 31 Mar 2022 17:10:40 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:229165 Archived-At: [=E0=AE=B5=E0=AE=BF=E0=AE=AF=E0=AE=BE=E0=AE=B4=E0=AE=A9=E0=AF=8D =E0=AE=AE= =E0=AE=BE=E0=AE=B0=E0=AF=8D=E0=AE=9A=E0=AF=8D 31, 2022] Eli Zaretskii wrote: >> From: Visuwesh >> Cc: 54646@debbugs.gnu.org >> Date: Thu, 31 Mar 2022 19:14:23 +0530 >>=20 >> 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: >>=20 >> =C2=B7 In init.el, I have to zoom in 7x times >> =C2=B7 In eww, I have to zoom in 1x time >> =C2=B7 In dired, I have to zoom in ~15x times >>=20 >> In the problematic emacs -Q session, current-iso639-language is 'en'. >>=20 >> [*] 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=3D2996410 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.