From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#39082: Inconsolata v3.000 has too wide spacing Date: Sun, 12 Jan 2020 17:37:58 +0200 Message-ID: <83eew47kix.fsf@gnu.org> References: Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="102443"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 39082@debbugs.gnu.org To: Andrea Greselin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 12 16:40:09 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iqfJd-0009YR-TO for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Jan 2020 16:38:14 +0100 Original-Received: from localhost ([::1]:39040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqfJc-0007z4-8a for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Jan 2020 10:38:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45336) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqfJT-0007vf-OC for bug-gnu-emacs@gnu.org; Sun, 12 Jan 2020 10:38:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iqfJS-0002Ly-Jd for bug-gnu-emacs@gnu.org; Sun, 12 Jan 2020 10:38:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51837) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iqfJS-0002Kg-Eq for bug-gnu-emacs@gnu.org; Sun, 12 Jan 2020 10:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iqfJS-0008NA-By for bug-gnu-emacs@gnu.org; Sun, 12 Jan 2020 10:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Jan 2020 15:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39082 X-GNU-PR-Package: emacs Original-Received: via spool by 39082-submit@debbugs.gnu.org id=B39082.157884348132177 (code B ref 39082); Sun, 12 Jan 2020 15:38:02 +0000 Original-Received: (at 39082) by debbugs.gnu.org; 12 Jan 2020 15:38:01 +0000 Original-Received: from localhost ([127.0.0.1]:57810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqfJR-0008Mv-80 for submit@debbugs.gnu.org; Sun, 12 Jan 2020 10:38:01 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35839) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqfJP-0008Mi-RM for 39082@debbugs.gnu.org; Sun, 12 Jan 2020 10:38:00 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35284) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iqfJK-0001lF-Ko; Sun, 12 Jan 2020 10:37:54 -0500 Original-Received: from [176.228.60.248] (port=1050 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iqfJK-0006RK-0Z; Sun, 12 Jan 2020 10:37:54 -0500 In-reply-to: (message from Andrea Greselin on Sat, 11 Jan 2020 11:03:39 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org gmane.emacs.bugs:174507 Archived-At: > From: Andrea Greselin > Date: Sat, 11 Jan 2020 11:03:39 +0100 > > Hello, after upgrading to Inconsolata v3.000 letter-spacing for that typeface > has become too wide, as shown in the attached screenshot. It shows the Emacs > frame I get on running `emacs -Q`. > > Note that the font works correctly in other applications such as Gedit and > LibreOffice. > > For reference, here are the reports I've made at Red Hat's Bugzilla and > Inconsolata's GitHub page for the same bug: > - https://bugzilla.redhat.com/show_bug.cgi?id=1786054 > - https://github.com/googlefonts/Inconsolata/issues/42 > > According to reports at Inconsolata's GitHub page this happens in Emacs versions > 26.2, 26.3 and 27.0.50. As indicated in https://github.com/googlefonts/Inconsolata/issues/42#issuecomment-573409054, the information returned by font-info for this font on Fedora is: ["-CYRE-Inconsolata-normal-normal-normal-*-19-*-*-*-m-0-iso10646-1" "Inconsolata:pixelsize=19:foundry=CYRE:weight=normal:slant=normal:width=normal:spacing=100:scalable=true" 19 21 0 0 0 29 17 4 29 29 "/usr/share/fonts/levien-inconsolata/Inconsolata-Regular.ttf" (opentype ((DFLT ...) (latn ... ... ... ... ... ... ... ... ...)) (DFLT (nil mark mkmk)) (latn (nil mark mkmk) (AZE\ mark mkmk) (CAT\ mark mkmk) (CRT\ mark mkmk) (KAZ\ mark mkmk) (MOL\ mark mkmk) (ROM\ mark mkmk) (TAT\ mark mkmk) (TRK\ mark mkmk)))] and I think the "scalable=true" part is the problem. AFAIK, it isn't supposed to be there, since the average width is reported as non-zero for this font. But that's just a wild guess. I guess it comes from Fontconfig. Sadly, I have no idea how to go about investigating this problem further, maybe someone else does? FWIW, this problem doesn't happen on MS-Windows with the same font.