From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#54646: 29.0.50; set-fontset-font and font clipping issues Date: Thu, 31 Mar 2022 12:04:41 +0300 Message-ID: <83h77e7as6.fsf@gnu.org> References: <875ynuokqt.fsf@gmail.com> <83r16i7kim.fsf@gnu.org> <871qyiob70.fsf@gmail.com> <83lewq7g1j.fsf@gnu.org> <87czi27bnu.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10052"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 54646@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 31 11:09:10 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 1nZqnm-0002So-Bg for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 31 Mar 2022 11:09:10 +0200 Original-Received: from localhost ([::1]:46734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZqnk-0006V3-FS for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 31 Mar 2022 05:09:08 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZqjm-0003hr-EH for bug-gnu-emacs@gnu.org; Thu, 31 Mar 2022 05:05:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43988) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZqjm-0004ve-4Y for bug-gnu-emacs@gnu.org; Thu, 31 Mar 2022 05:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nZqjl-0006wk-Vs for bug-gnu-emacs@gnu.org; Thu, 31 Mar 2022 05:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 31 Mar 2022 09:05: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.164871748226666 (code B ref 54646); Thu, 31 Mar 2022 09:05:01 +0000 Original-Received: (at 54646) by debbugs.gnu.org; 31 Mar 2022 09:04:42 +0000 Original-Received: from localhost ([127.0.0.1]:37883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZqjR-0006w2-LV for submit@debbugs.gnu.org; Thu, 31 Mar 2022 05:04:41 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZqjO-0006vo-G8 for 54646@debbugs.gnu.org; Thu, 31 Mar 2022 05:04:39 -0400 Original-Received: from [2001:470:142:3::e] (port=53724 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZqjJ-0004tC-AH; Thu, 31 Mar 2022 05:04:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=RGrEuHhNUyn1LMJlpsJioUaOWblC7GGFBd/Dob/Wmqs=; b=b9zLt65/U+DoWMN+ZRi+ EmUWqDSf3Pa92Kxtx16jXkyNm5ocEvre8QJBG+1Hn7hjiwVgAj8OfiW4OuZBLMgmKZAvjnLsvujc1 oRJKsIzHc8ZhNoKfUi2YOIrYThzpJdIgnJFytMPxyOfHTPAbw7mXpS68XookdeO8Inugsz93ydUHr JZ2TmCzzQWf6sAfhHi/rH+A5EKOLCfsQFqoKdzBXRZxlxseJN40/AVsgt+as7QlvSpMv+JfDm5CSs 4njX75YVVSEOOUMVezesNLIhQDwXqsM2berQqNmlENPbrMy9mlPsMb45pcTp28AFAx3pCNi78XZwx AZG2QYXOSTZJPQ==; Original-Received: from [87.69.77.57] (port=3267 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZqjI-0003jr-B1; Thu, 31 Mar 2022 05:04:32 -0400 In-Reply-To: <87czi27bnu.fsf@gmail.com> (message from Visuwesh on Thu, 31 Mar 2022 14:15:41 +0530) 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:229141 Archived-At: > From: Visuwesh > Cc: 54646@debbugs.gnu.org > Date: Thu, 31 Mar 2022 14:15:41 +0530 > > 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. For meaningful comparison, I need data for the same font size. One of the three samples uses a smaller font size, so it's hard to compare it to the rest. However, this: > 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 vs this: > 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 Seems to indicate that we use incorrect composition data in the second case: the X offset part (-14) seems to be too large, and I don't understand why there's a non-zero WADJUST value (20) for the first glyph of the grapheme cluster. Very strange. Are both cases for exactly the same text that surrounds the problematic characters, or does the surrounding text differ in any way? Also, what version of HarfBuzz do you have there? Can you try upgrading to a newer version?