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#49555: 28.0.50; height display property causes text to render with incorrect spacing Date: Sat, 17 Jul 2021 15:05:19 +0300 Message-ID: <83a6ml403k.fsf@gnu.org> References: <83a6mp837i.fsf@gnu.org> <8b780fd8-9fce-e9e7-a2a1-38a0e327a11a@airmail.cc> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6833"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49555@debbugs.gnu.org To: Adam Edge Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 17 14:06:14 2021 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 1m4j5C-0001d4-A7 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Jul 2021 14:06:14 +0200 Original-Received: from localhost ([::1]:57054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m4j5B-0004ST-05 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Jul 2021 08:06:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4j50-0004SL-Ig for bug-gnu-emacs@gnu.org; Sat, 17 Jul 2021 08:06:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41366) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m4j50-0001cx-AV for bug-gnu-emacs@gnu.org; Sat, 17 Jul 2021 08:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m4j4z-0004mz-S8 for bug-gnu-emacs@gnu.org; Sat, 17 Jul 2021 08:06: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: Sat, 17 Jul 2021 12:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49555 X-GNU-PR-Package: emacs Original-Received: via spool by 49555-submit@debbugs.gnu.org id=B49555.162652354218383 (code B ref 49555); Sat, 17 Jul 2021 12:06:01 +0000 Original-Received: (at 49555) by debbugs.gnu.org; 17 Jul 2021 12:05:42 +0000 Original-Received: from localhost ([127.0.0.1]:52912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4j4f-0004mR-Q6 for submit@debbugs.gnu.org; Sat, 17 Jul 2021 08:05:41 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4j4b-0004mB-Gi for 49555@debbugs.gnu.org; Sat, 17 Jul 2021 08:05:40 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41004) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m4j4V-0001E7-66; Sat, 17 Jul 2021 08:05:31 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2157 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 1m4j4R-00029i-M9; Sat, 17 Jul 2021 08:05:31 -0400 In-Reply-To: <8b780fd8-9fce-e9e7-a2a1-38a0e327a11a@airmail.cc> (message from Adam Edge on Wed, 14 Jul 2021 19:00:25 +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:210121 Archived-At: > From: Adam Edge > Date: Wed, 14 Jul 2021 19:00:25 +0300 > > Another thing I've noticed is that when I just did the (set-face-attribute) > part without (set-frame-font) and opened a new frame, the frame's font was > the same as the one with incorrect letter spacing. When I did > M-x describe-font RET, this is what I got in the `full name' line:Fira > Code:pixelsize=14:foundry=CTDB:weight=normal:slant=normal:width=normal:spacing=90:scalable=true > And the font loaded is: /usr/share/fonts/fira-code/FiraCode-Medium.ttf > After doing the (set-frame-font), the font returned to the desired > spacing. The `full-name' line in describe-font now is: Fira > Code:pixelsize=14:foundry=CTDB:weight=normal:slant=normal:width=normal:spacing=100:scalable=true > And the font loaded now is: > /home/aedge/.local/share/fonts/FiraCode-Retina.ttf I suppose removing > the system font should fix my problem here, and the issue can be closed, > but why does the font change when '(height 1) is specified? Good question. I don't really know the answer, but maybe that's because the original font has a slightly different height?