From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Fix placement of toggle and radio button in Lucid menu. Date: Sat, 26 Feb 2022 16:35:51 +0800 Message-ID: <87mtie3tzs.fsf@yahoo.com> References: <87sfs87i5o.fsf@elite.giraud> <87pmnc7f5c.fsf@yahoo.com> <87k0dk7ejd.fsf@yahoo.com> <878rtzb3hr.fsf@elite.giraud> <83h78nqguu.fsf@gnu.org> <87wnhj152u.fsf@elite.giraud> <83a6efqepd.fsf@gnu.org> <87sfs75a99.fsf@yahoo.com> <837d9jqbpd.fsf@gnu.org> <87mtie5vil.fsf@yahoo.com> <83tucmp2lp.fsf@gnu.org> <874k4m5bfv.fsf@yahoo.com> <83o82uoykc.fsf@gnu.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="13150"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: manuel@ledu-giraud.fr, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Feb 26 09:39:09 2022 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 1nNsbc-0003JF-Tl for ged-emacs-devel@m.gmane-mx.org; Sat, 26 Feb 2022 09:39:08 +0100 Original-Received: from localhost ([::1]:40000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nNsbb-0003wz-OX for ged-emacs-devel@m.gmane-mx.org; Sat, 26 Feb 2022 03:39:07 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nNsYh-0002Cb-Vm for emacs-devel@gnu.org; Sat, 26 Feb 2022 03:36:09 -0500 Original-Received: from sonic317-34.consmr.mail.ne1.yahoo.com ([66.163.184.45]:46851) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nNsYe-00057a-LW for emacs-devel@gnu.org; Sat, 26 Feb 2022 03:36:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1645864563; bh=uVszQeac3ez522d6smaANTpG9cZqWcDsvpWvaogVQQc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=WdwbizM0sG38sFuscUDNwsyDUI1UW+8huLtHSeu7ZoMRjKFUjEXqPNL8xk1enhvUwsnq8cNJ/RNURDNIYduJWa47ACATy9IG6Y3Or7I/ptFCxRcnddRcWcpTszPo+316Yg+TtvrlxpUm+nT5L3Kmm5DCR7ivw8aEOg1BVVvyiACXR2Zdt/2XnRhTC08tJyy68cpGNhFT6oTeBRczWMYXpaqqjdKJF6TvvAx4SJZao0yTWu4RcFIre5P2RjzwklCJsIL8f3S2BXHrsmAUfyZcUFq075b83FjBehPZG2XcSU5Uj/PloKS4Ss8tPxiUdKM60UDNTuiMxD+Q0oYdu/tS4Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1645864563; bh=EA18Wor2nLuRx1qz7znMT0Da0uvmRQFBW1qoPrH19sH=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=L1N+LXB9ZIFZ+V8k68wlQSiIOK6Ko4Ur0fZGjVFN/lzvT34nxPRCQJpJb6DTbymSgD2YAJnLJPD9PfxqnthUe8SEaZ5PscN0F7V4oQZm4CLPBobNBLGHXL/f1pav4HBNn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6wC6l X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Sat, 26 Feb 2022 08:36:03 +0000 Original-Received: by kubenode509.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 934cb859266b7cb7c617a4007f022f3e; Sat, 26 Feb 2022 08:35:59 +0000 (UTC) In-Reply-To: <83o82uoykc.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 26 Feb 2022 09:51:31 +0200") X-Mailer: WebService/1.1.19797 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.184.45; envelope-from=luangruo@yahoo.com; helo=sonic317-34.consmr.mail.ne1.yahoo.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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:286699 Archived-At: Eli Zaretskii writes: > That's not the impression I get when I look at the definition of > MENU_FONT_HEIGHT in xlwmenu.c: it does use the font attributes used by > the "usual" font backends, at least in the case of XFT and Cairo. Am > I missing something? They are the same attributes, but I think they're computed differently. AFAIK the font backends calculate ascent and descent on a per-glyph basis, while the Lucid menu bar widget uses the maximum ascent and descent values for the entire font.