From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Fix placement of toggle and radio button in Lucid menu. Date: Sat, 26 Feb 2022 08:24:18 +0200 Message-ID: <83tucmp2lp.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40185"; mail-complaints-to="usenet@ciao.gmane.io" Cc: manuel@ledu-giraud.fr, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Feb 26 07:25:35 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 1nNqWN-000AGx-8f for ged-emacs-devel@m.gmane-mx.org; Sat, 26 Feb 2022 07:25:35 +0100 Original-Received: from localhost ([::1]:48594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nNqWL-0007V0-NG for ged-emacs-devel@m.gmane-mx.org; Sat, 26 Feb 2022 01:25:33 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60626) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nNqVR-0006mG-5w for emacs-devel@gnu.org; Sat, 26 Feb 2022 01:24:37 -0500 Original-Received: from [2001:470:142:3::e] (port=44188 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nNqVP-00045o-Li; Sat, 26 Feb 2022 01:24:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=vAYu56Wgn+Jk1HpIqqBoMAy6DyTWGHXCLZv0QAwio4k=; b=hHeNRiLCGN0O uKhxOVGzb6p+w2aqEfZV4pdcNMeJ8ILIC6fXra9acoUx1TG/xdTZ67sQvORq1iW2AB0lntrY3FMYP M5UjijwIdsu+neDBz9/o621phOmKqRkQtAom1Y8R2ws2fsd8D1Vteb5sexxOWCasq/ii+weI/C7N2 658h7KxyMppcpICOt8t970MyXc72wtdrLpFvFPYvfWMN1WlwAiZt+R8PKkYWIUdgDVbeNPqKqwJUh Jb3Cko9YJmqKV7UO8GHU6DlTQdeq8YR+vrB7HgwWj7hGQmMatcK3KLUMbxBrTp69sk279ZQc7jomc OvK8B7loFqENzIUc9TnxZg==; Original-Received: from [87.69.77.57] (port=3581 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nNqVO-0007jD-4l; Sat, 26 Feb 2022 01:24:34 -0500 In-Reply-To: <87mtie5vil.fsf@yahoo.com> (message from Po Lu on Sat, 26 Feb 2022 08:20:02 +0800) 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:286694 Archived-At: > From: Po Lu > Cc: manuel@ledu-giraud.fr, emacs-devel@gnu.org > Date: Sat, 26 Feb 2022 08:20:02 +0800 > > Eli Zaretskii writes: > > > Can't you arrange for the same font to be used as the default face's > > font, and then look in gui_produce_glyphs? > > Not without fix the current mess that is font display in the Lucid > menus. Sorry, I don't understand how this is relevant. What I meant is to invoke Emacs like this: emacs -Q -fn SOMETHING where SOMETHING is the font used in the Lucid menus, and the examine the metrics of the relevant characters and of the font inside gui_produce_glyphs. The only difficulty I could see is if somehow it is not easy to know which font is used in the Lucid menus. Is that the problem?