From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Tick Reduction Date: Sat, 20 Nov 2021 09:43:34 +0100 Message-ID: <87r1bbrzd5.fsf@gnus.org> References: <87bl2hyzca.fsf@gnus.org> <8735nszpdv.fsf@gnus.org> <87sfvswrp8.fsf@gnus.org> <87zgq0tu7z.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="371"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Emacs developers , Dmitry Gutov To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 20 09:44:17 2021 Return-path: Envelope-to: ged-emacs-devel@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 1moLyq-000AVi-2W for ged-emacs-devel@m.gmane-mx.org; Sat, 20 Nov 2021 09:44:16 +0100 Original-Received: from localhost ([::1]:45878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1moLyo-00059M-T1 for ged-emacs-devel@m.gmane-mx.org; Sat, 20 Nov 2021 03:44:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34222) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moLyH-0004QF-NW for emacs-devel@gnu.org; Sat, 20 Nov 2021 03:43:41 -0500 Original-Received: from [2a01:4f9:2b:f0f::2] (port=58976 helo=quimby.gnus.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moLyF-0001wl-Si for emacs-devel@gnu.org; Sat, 20 Nov 2021 03:43:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=I0bgplXvMikaeIVAqlGZOXB0d/MGf0x9xeeo5i4w2ck=; b=tLAf0nwxvgGbmVXt8uaQqzzNtg 71tMOZPAZdmLOPQX6Xb3EcegbubtBsS1I+LGfAxW9IL884vDf+xfjCDvz1ocl0SYaAC/RimnUBB4a 6NO7O1yzwfevfPJ0iZ1pAU1cnoyaBDFQbr5OLN/2KErKXplBfHusWOrFejvvxMy4cm20=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1moLyB-0001Vs-9n; Sat, 20 Nov 2021 09:43:37 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEUkJCsTFBQ1QV1E XJT///8eAeP6AAAAAWJLR0QEj2jZUQAAAAd0SU1FB+ULFAgQFQv6dkoAAAGoSURBVDjLjZThke0g CIVBGxBsQKEBxP57e5iY++Kd3ZnNTP7k4xwQMID08wN/BeUDiCSjqZfZPIKmczfyC2gNkJslQ+KR eLyB8HTxTmXQW0EmyQb3sJ7fAHzwiBy1f4FiQ6aF5JVcbjCXk1H+AmwrnBRrGgeonQCgFGP5D3KA vL4DYH6DpZACWELC9gUsyQKI8wTaRaKDy0uOqhQu0ACqn4AjC3IAPgGlUGAKgOcBSUQQr4IfUHCd YwGCQ1H7pVixIEvyAHarMlZ0FMWBeDg4NCDtZSIVASqYpIVius4OeynCPuQgDT5bItx1Xq2NV0LI xjEbQA/TdPc2EgXIyu43MPqAhOSVh27FC3SyGGL+KDYJUFb5GQHnHHOuWVwS6GU8IA+XJ/t6Rky3 4raqfVtFJ17AY5l3ONYTVN9JUOUC/QG6QTE/QaZyO8EBUs5wza9oOXJgjsiomPQLJK1ttrioVk/A U5t5NFs0Lso++ZVctc0uVDwXezXxBiiUwmpsQFdLnG0pcH2MeXS9gScPhxGbZaxdlc33zL0V6xZr 3Uoc9p45/faT+Q38A+qPZ25rcqMwAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTExLTIwVDA4OjE2 OjIxKzAwOjAwD8xZyAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0xMS0yMFQwODoxNjoyMSswMDow MH6R4XQAAAAASUVORK5CYII= X-Now-Playing: Judee Sill's _Heart Food_: "When the Bridegroom Comes" In-Reply-To: (Stefan Kangas's message of "Fri, 19 Nov 2021 11:28:34 +0100") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:4f9:2b:f0f::2 (failed) Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:279794 Archived-At: Stefan Kangas writes: > I believe the reason why we get the visual impression that the monospace > font is larger than the proportional, even though they take up as many > vertical pixels, is because it takes up more horizontal space. Yes, that does seem like the explanation here. > Such visual illusions are not entirely uncommon in typography, and the > normal solution is to forget about aligning things "mathematically" or > with a ruler. (Doing that would be counter-productive when the key > thing is what it looks like to a human reader and not to a machine.) > Instead, you simply eye-ball it. There's no way around it. > > So my conclusion is that Emacs does things "right" here, in the sense > that it doesn't do any adjustments: it just presents the font at the > specified font size. Yup. > Does harfbuzz, or something else, provide us with a way to know the > x-height of a character? I've poked around briefly, and I don't see anything likely. fc-query doesn't say anything about x-height either. Anybody else know? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no