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: Fri, 29 Mar 2024 09:50:06 +0000 Message-ID: References: <86sf0j1q0c.fsf@gnu.org> <86cyrehdre.fsf@gnu.org> 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="3132"; 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 Fri Mar 29 10:51:09 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 1rq8tB-0000Zn-7F for ged-emacs-devel@m.gmane-mx.org; Fri, 29 Mar 2024 10:51:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rq8sM-00071I-9k; Fri, 29 Mar 2024 05:50:20 -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 1rq8sI-00070v-Iu for emacs-devel@gnu.org; Fri, 29 Mar 2024 05:50:14 -0400 Original-Received: from dane.soverin.net ([185.233.34.148]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rq8sF-00058h-3q; Fri, 29 Mar 2024 05:50:13 -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 4V5bHM1S40z2xJ1; Fri, 29 Mar 2024 09:50:07 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by soverin.net (Postfix) with ESMTPSA id 4V5bHL6jWczFp; Fri, 29 Mar 2024 09:50:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1711705807; bh=6JpYLItp+KTku5LYWvwF5C7S3LarwSjfCoHhCJEcq/M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gxNoEDEEYsRjJUK6YQcUS4GOdKZyLuW8rSwFRqEXXmd2bUkge6cYZ7TqSlahW0wL2 FS0Lfd4bXVxwE4Y5j5v1lzKu9CYeUL/l6TZ0d6TBAgSyDU3C3FUEKMycDwsbPKdq8F Xu+n7gOAmrOIwdjC4Twd4X5iE54VKpvWgJeOd39csWCBmhWDrCE67iJoqoUhoffLAF pW7OGkJzNkREoEIQ7Do5cGnrKbxibb4za/K+gMl88w1rZhxETTWI/ew48jPqjeL7jO yqioxIe40fEvqrudadfZPTmJ7JI2HgfBWZX0h8i9gA1cmj2AvjMBbVy2LTsN3/u5d1 1mK3D9u5g693w== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.96) (envelope-from ) id 1rq8sA-001qjp-1n; Fri, 29 Mar 2024 09:50:06 +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.148; 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:317376 Archived-At: On Thu, Mar 28, 2024 at 10:34:32PM +0300, Evgeny Zajcev wrote: > чт, 28 мар. 2024 г. в 14:41, Alan Third : > > > 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. > > > > Not wrong, but different. OK, I understand, thanks. Em should be equivalent to the font's size (i.e. 12 points for a 12 point font) so it's good. This is different. I'm happy with it if you are, Eli. -- Alan Third