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.help Subject: Re: Font size innacuracies (Windows) Date: Tue, 01 Mar 2022 19:14:07 +0200 Message-ID: <834k4hlhnk.fsf@gnu.org> References: <865yoy9dii.fsf@csic.es> <87h78hhhu3.fsf@vps.thesusis.net> <86fso19003.fsf@csic.es> 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="26428"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 01 18:15:10 2022 Return-path: Envelope-to: geh-help-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 1nP65d-0006m9-RY for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 01 Mar 2022 18:15:10 +0100 Original-Received: from localhost ([::1]:35090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nP65c-0003bz-9x for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 01 Mar 2022 12:15:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nP64k-0003av-LU for help-gnu-emacs@gnu.org; Tue, 01 Mar 2022 12:14:14 -0500 Original-Received: from [2001:470:142:3::e] (port=39974 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 1nP64k-00045X-Av for help-gnu-emacs@gnu.org; Tue, 01 Mar 2022 12:14:14 -0500 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=hnEhZawYocvNvfHTbZnpBZrX4xM0tGnfcFa5bL7sWF8=; b=gOdm/48AEFZ2DwIh8tza MzJ6NlL/kA4kfHGPee/EDETk8+6ISN30DXufGhlPhjncZYf6B91JveUnCq1nOGEYf/X5kfsOQ1cP4 bNNDzfMUh6VfgR1aGe5NdMuUh4B8hQw3tXyJIK2f9GVAJPa76604PbgGMEQRO/WSym0zONjPn859n 5Ns3s4pbDMJCi1MvvQFliwq7Wi7IsUHmZ+9SG+cf+kr2taQss/C06IY44UvEXSPx2mwNE8qIlp1kY QKeGq7e74SYvZjp9/YFoLg8oYPnqEJ4pJd66Fjy4fmvFXtRiWhvJGG/07FRh1gyKIK5PY5QnQdaRU bNMGykSpAUBjEg==; Original-Received: from [87.69.77.57] (port=4172 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 1nP64j-0000BP-Pt for help-gnu-emacs@gnu.org; Tue, 01 Mar 2022 12:14:14 -0500 In-Reply-To: <86fso19003.fsf@csic.es> (juanjose.garciaripoll@gmail.com) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136321 Archived-At: > From: Juan José García-Ripoll > > Date: Tue, 01 Mar 2022 16:16:12 +0100 > > I don't know. In principle the manual states that one can select pixels > in the name of the font, e.g. in set-frame-font. I tried it and changing > "Consolas:pixelsize=14" to "Consolas:pixelsize=12" does indeed change > the size. > > In any case, what bothers me is that (i) even if Windows screws the > conversion, I do not find a suitable point or pixel size that matches > other applications (ii) the density of characters is different, both > vertically and horizontally, despite being monospaced fonts, (iii) the > difference in kerning and spacing is more remarked for variable-pitch > fonts. FWIW, I don't see such a big difference between sizes on my system, I see a very slight difference that is barely noticeable. I compared Emacs with MS Word using the same font, both for the default Courier New and Consolas fonts. Are you sure that "other application" doesn't have some settings that enlarge the font and/or apply some non-default line spacing? And again, if you say the problems are more severe with variable-pitch fonts, please show those more severe problems, because otherwise it's hard to understand what are the problems you are talking about. (I don't have VSCode installed, and don't plan on installing it, sorry.)