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: Wed, 02 Mar 2022 22:06:03 +0200 Message-ID: <83o82ojf10.fsf@gnu.org> References: <865yoy9dii.fsf@csic.es> <87h78hhhu3.fsf@vps.thesusis.net> <86fso19003.fsf@csic.es> <834k4hlhnk.fsf@gnu.org> <86h78gn6jp.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="8738"; 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 Wed Mar 02 21:30:44 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 1nPVcS-000269-Es for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 02 Mar 2022 21:30:44 +0100 Original-Received: from localhost ([::1]:52948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nPVcR-0003YJ-7X for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 02 Mar 2022 15:30:43 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPVEe-00039d-7c for help-gnu-emacs@gnu.org; Wed, 02 Mar 2022 15:06:08 -0500 Original-Received: from [2001:470:142:3::e] (port=36038 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 1nPVEd-0007iM-TV for help-gnu-emacs@gnu.org; Wed, 02 Mar 2022 15:06:07 -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=6YI2Hm/MCGXcIlT0T5dSSNuXIMevCtFfqL6ZA5AjOig=; b=A9IrRQ8z0OIOU/buCD3R XdekTcU1iz7Z0ifq7WH6mxjcKBblhdr+TbVPSX7b1ArWKdAyk0KPi38vtZAJ1T/LiVfmcpfr8TV3K owErD2DFWL/J+2ct13YuGRyjQnzUbYf9QqqKnnxnECKYKhXt2uifnlWhiYO66sZME6dD7pICAt+nE pv88CaPaELtuO8mDbgTacSMJrcKrq4Dtg2XEgdQ6CA622yn8J6cb0csumOUgh/gtI9xyZ7XKRM9zh BQwCxI1knVii//Gq2PcyoGUxVsLkDrAVVYLCZHCVp0IPHorovYlkf7L3Dgny2RU3cIfr1QByXFBap NhxFopmDao5XZg==; Original-Received: from [87.69.77.57] (port=3715 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 1nPVEd-0007Hg-93 for help-gnu-emacs@gnu.org; Wed, 02 Mar 2022 15:06:07 -0500 In-Reply-To: <86h78gn6jp.fsf@csic.es> (juanjose.garciaripoll@gmail.com) X-Mailman-Approved-At: Wed, 02 Mar 2022 15:29:13 -0500 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:136334 Archived-At: > From: Juan José García-Ripoll > > Date: Wed, 02 Mar 2022 08:43:22 +0100 > > I suspect that the variations are due to VSCode's display > engine. I just realized that the same discrepancies (more > pleasant rendering of Consolas) can be seen by embedding the *.cc files > in HTML (as
) and displaying them on Microsoft Edge, btw.

Maybe they use kerning, i.e. they run all the text they display
through a text-shaping engine (DirectWrite etc.).  Emacs doesn't; we
only use a shaping engine for scripts that require complex text
shaping, and then only for some sequences of characters.