From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Akib Azmain Turja Newsgroups: gmane.emacs.help Subject: Re: How much is one em (image size unit)? Date: Fri, 31 Mar 2023 22:32:49 +0600 Message-ID: <87sfdkev9q.fsf@disroot.org> References: <87y1nddory.fsf@disroot.org> <871ql50yrs.fsf@ledu-giraud.fr> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39347"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Manuel Giraud To: Manuel Giraud via Users list for the GNU Emacs text editor Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 31 18:34:14 2023 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 1piHhe-000A0M-Eh for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 31 Mar 2023 18:34:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piHhE-0001F0-1Z; Fri, 31 Mar 2023 12:33:48 -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 1piHhC-0001EX-Fm for help-gnu-emacs@gnu.org; Fri, 31 Mar 2023 12:33:46 -0400 Original-Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1piHhA-0006yu-Au for help-gnu-emacs@gnu.org; Fri, 31 Mar 2023 12:33:46 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 0657740233; Fri, 31 Mar 2023 18:33:42 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Original-Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1UHG_SZ9IBNa; Fri, 31 Mar 2023 18:33:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1680280416; bh=pJfz35l5NYYdFt0ER4lW3NLySDGxBUdxYL5iSUBcmZ8=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=LegpWHBzrd4a1gpldJhMVvfFKlBz5My8IACHns8vzNhwJqY8ZQj8YKKBWomXxzh1S XCmAAJh8fzZXdK1IM/+TdGXCnNGBx5UffTWbsScz64o2ZRdevIE4EZx90hfNtHEtoP lWw0DrZuDy+ADRYLjqwOsvK+I8Kv+HGl4YxKZxgzg1auqXuOfEFGbzClTwDEWe+wAg Sss311qpH9iElxchaaMsZ5Ox7bqAIPhR8qn88+A7bkdPzHjbNAfS7DvElt6ZL/esye 8b7StXN4ETEKprOFrva4W9IJLRaGerE+ze/8bG9xrXzZLjivsvJ1irPQKAY0IeiG5z GjdH5XKsLq6Jw== In-Reply-To: <871ql50yrs.fsf@ledu-giraud.fr> (Manuel Giraud via Users list for the's message of "Fri, 31 Mar 2023 16:40:55 +0200") Received-SPF: pass client-ip=178.21.23.139; envelope-from=akib@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143183 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Manuel Giraud via Users list for the GNU Emacs text editor writes: > Akib Azmain Turja writes: > >> I'm trying to show an image such that it has same height as the text and >> resizes relatively with text scale. I've achieved this with the 'em' >> unit as described in (elisp)Image Descriptors. But 1 em seems to be >> pretty smaller than the font size. How to figure out correct value in >> em unit such that image and the text has correct height? > > Hi, > > FWIW, your example works for me and scales accordingly when I zoom. But 1 em is pretty smaller than the default font size. I want to make the image height and the text height same. =2D-=20 Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5 Fediverse: akib@hostux.social Codeberg: akib emailselfdefense.fsf.org | "Nothing can be secure without encryption." --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEyVTKmrtL6kNBe3FRVTX89U2IYWsFAmQnCzEACgkQVTX89U2I YWuSehAA4honI/yijeL7DNe+PtNGjw3NJoMMmlRpWZpZeEkSt3xcfSYpw855tY8W nOdnp3tmjnKAuHp69hs084aZEbjedpzGIY3t8vHbDU3ZNdAtofCvQMOGuxzR6n7/ Z2sfQzTaUFFNRh85WC1iLGma72VKVMidQXId6ElXW0xQwGTU7gSD9avJdM6qPuj0 aWwVzW0FAQ9d5SsTl0wSjb6/1BvxhlfpRDMmNMnRZDd5Zbr40/35ahSkEeQ0s6Bf cu3VApl06sbuyWbpimxaB6E21z+kn00RM1M5WCVMQjpDCJeZlJ40TLxPGwqVlLZL YvU7yGyTsHCePKaElCYMwBvEfjjDOsbIBh84u2QZzQ/5RTTbhnGCs2Lw+SsqKmNl 8lwgLWCk+mE9jdD14qHq7s1lLWkWhpfpc5ogVhNmU4b0PWiMf7akYMHc+bHFQars uEadBWK4Ic6OtnH6kRuEsnybuE0+tsC15M6/PlDvlRJ2YVh6UbgxpSjiSakswnn7 f20/qG1d3Moj8U/Q+r/f8hrk+QN863AxPi+HPfDiuiNNcMYtxwQFjfPmns/YwMIH zegcMGc5RqsdVCVKvontcCUvSyJ2rk3e/GC3UympAQcSJHktl2cCRWqkfwK/bSuo TTWbB6gxdON3WAD8uAqSkjYmCrbkivic6KtytlFKV3OgX5fQTpQ= =/bGu -----END PGP SIGNATURE----- --=-=-=--