From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add support for `ch' and `cw' dimension specifiers for the image Date: Thu, 28 Mar 2024 11:41:23 +0000 Message-ID: References: <86sf0j1q0c.fsf@gnu.org> <86cyrehdre.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15649"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org To: Evgeny Zajcev Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 28 12:42:23 2024 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 1rpo9G-0003mg-Ve for ged-emacs-devel@m.gmane-mx.org; Thu, 28 Mar 2024 12:42:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpo8T-00089p-Ph; Thu, 28 Mar 2024 07:41:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rpo8S-00089E-3W for emacs-devel@gnu.org; Thu, 28 Mar 2024 07:41:32 -0400 Original-Received: from dane.soverin.net ([185.233.34.31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rpo8Q-0002Fj-2N; Thu, 28 Mar 2024 07:41:31 -0400 Original-Received: from smtp.soverin.net (unknown [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4V51pD3Q9sz2xc7; Thu, 28 Mar 2024 11:41:24 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by soverin.net (Postfix) with ESMTPSA id 4V51pD1BTPzHV; Thu, 28 Mar 2024 11:41:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1711626084; bh=j9a3ZsyVf3ad8saFqToXkg8IDFtxhV3/0wjudm+x/TA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OPbivUgPjnzebp9dbymUavhRvemheIERL6PU9SzMD2kimZplEbNyTWR1KuR26nDxg I9yXVzsmfXxx3jPN5kSGmPyUd7pig0J8vo+JiABMGCp/a7rjaFGQjc/EvwLNzbnomd c1MwLpCRw/urYwQgOj3I+O6qPPghWmXqHyCKlpBD8Sw/HX4dxuS0H1qIcOEnyz0ej9 DNf6IIYMQGtZ+yrglRI0aXU6orR87Sqc18BQXGZ4Adue9jZG1/5KNIjegs+KcMMRmF NCbbzg56PaPurf6pMp2h0M6qcguw+JgYDUDGg3+9LejRiHLrBf7o+BBs7biuCwZX+j wXVI5fhJ7OwRg== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.96) (envelope-from ) id 1rpo8J-001qM9-0V; Thu, 28 Mar 2024 11:41:23 +0000 Mail-Followup-To: Alan Third , Evgeny Zajcev , Eli Zaretskii , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=185.233.34.31; envelope-from=alan@idiocy.org; helo=dane.soverin.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:317358 Archived-At: On Thu, Mar 28, 2024 at 01:50:37PM +0300, Evgeny Zajcev wrote: > Yes, this is intentional, because saying "height of the font" in docs, when > font's pixel size is used in code, is misleading and it took me some time > to understand why image renders smaller then font height if '(1 . em) is > specified as dimension modifier. That's why I started using coefficient > (calculated with `my-em-height-ratio') to `em' specifier Does this mean we have em wrong? It should ideally, IMO, be equivalent to em in a web browser because that seems the most common use Emacs users will be aware of. If we're using the wrong value then we should change it. -- Alan Third