From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Re: The relationship of settings for font in init.el and the one shown on "Pick a font" UI. Date: Thu, 7 Jan 2021 22:39:10 +0800 Message-ID: References: <834kju2iid.fsf@gnu.org> <83tursltvo.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28014"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 07 15:39:54 2021 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 1kxWSA-00079q-4O for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 07 Jan 2021 15:39:54 +0100 Original-Received: from localhost ([::1]:55364 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxWS9-0006Nn-6q for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 07 Jan 2021 09:39:53 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxWRn-0006NB-6Y for help-gnu-emacs@gnu.org; Thu, 07 Jan 2021 09:39:31 -0500 Original-Received: from mail-yb1-xb2b.google.com ([2607:f8b0:4864:20::b2b]:46031) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kxWRi-0000Bn-A9; Thu, 07 Jan 2021 09:39:30 -0500 Original-Received: by mail-yb1-xb2b.google.com with SMTP id k78so6254256ybf.12; Thu, 07 Jan 2021 06:39:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Y2Yf7LdXWP2U8P58Iz889ui7ortr2DXtpJYvDXHpKao=; b=o08WXpJfqute6ok/61FA5PYxRcfz7DrdnPZ+gQWlT8pnucyZyKM5UJz+XUe0cb+Jq1 QhxCYM3kpBvV3jyRGZC7KitjaZuq0MShTAKvDAXFAgKepyf8xtC+6cTk2PPtN42nm72s 9Oy+2gbekEpQGwOOYfFUBaPST8iIftwZiFixuhWNGi6ucN6uQfdVDJ9177uOtxdW3VlI JqwR5geoeV7rf/l3rMWdasZwp9KzSOpsKOHpt0YHfvCDln3+u924yI+ow1FO+yQyocFf s6ySlmfLOUxGHX4H50uegGSOeyBKpP2fKORJt+OLZdEjevfTNYCslGwC5JrzYRkg6X63 CbLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Y2Yf7LdXWP2U8P58Iz889ui7ortr2DXtpJYvDXHpKao=; b=dTdxJLFUg1EZN+SdSyqLJfM0ugZEbUzUqYZewuJZ09y44LQ63RIAM9VyRMOYRR0+GD AVtM0nDvia/8lv5rkdkLuokJ0SVNifqasDArWazGkbfygBiSD0IwCjixB0yI8+iJiGQt NN9LcEZ6GQtetoW6bcWWBKei6k2bdrMcLszdVyMZ6QKJiEg7iHEc0VuxHMMOkIv1hiAh MMe2jK2srJC+qovSAd5Kbio9heOZlDMp4vGdpYHNobpOMQ6eMvHvrhKIupPb/zs758zS W+gdRLB78gViO0YwmX+7r31hJSOriY8//IwV6kwvdVvr/NS2ww2NE03nuDeDwH1Sk/mG +CYg== X-Gm-Message-State: AOAM530L7N2hpAmybnOe/9R4kvDFEYrgrKSPSCvJbRly37en/MgpUqVR C8qzF1SACRrhh1bBXnX6FykUSSfdHcay4ZqIfOmMJ5a0daQq7vj6 X-Google-Smtp-Source: ABdhPJzslGF44k8W5jjIs5efQGOMXWNXEJ3ZHErqtI86e374GVGRJP95Xn36aI6wnUHyi22YV0EWJL1VIgTFqQcXVZ4= X-Received: by 2002:a25:c095:: with SMTP id c143mr13125160ybf.119.1610030362117; Thu, 07 Jan 2021 06:39:22 -0800 (PST) In-Reply-To: <83tursltvo.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::b2b; envelope-from=hongyi.zhao@gmail.com; helo=mail-yb1-xb2b.google.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, 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.23 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" Xref: news.gmane.io gmane.emacs.help:127051 Archived-At: On Thu, Jan 7, 2021 at 10:12 PM Eli Zaretskii wrote: > > > From: Hongyi Zhao > > Date: Thu, 7 Jan 2021 10:25:44 +0800 > > Cc: help-gnu-emacs > > > > > Which is the problematic part? The font name got recorded as > > > "family", is that the problem? If not what is? > > > > I mean the following relationships: > > > > Book -- normal > > That's expected: you cannot tell Emacs to use non-normal font for the > default face's font. Emacs needs to be able to express "bold", > "italics", and "bold-italics" faces from the default font. > > > Font size 14 -- height 143 > > Pixels vs font units. Do you mean 1Pixel = 1/10pt? BR, -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Polytechnic University of Science and Technology engineering NO. 552 North Gangtie Road, Xingtai, China