From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.help Subject: Re: How to get the actual face attribute? Date: Mon, 22 Jun 2020 15:10:08 -0400 Message-ID: References: <60C41409-88B0-4F21-AC6D-2F18394A7C46@gmail.com> <41A32155-634A-4D5A-A878-2F92E6761917@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="87160"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Perry Smith , help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 22 21:10:37 2020 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 1jnRq0-000MZk-FG for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 22 Jun 2020 21:10:36 +0200 Original-Received: from localhost ([::1]:48912 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jnRpz-0003pr-Gm for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 22 Jun 2020 15:10:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnRpc-0003jU-4U for help-gnu-emacs@gnu.org; Mon, 22 Jun 2020 15:10:12 -0400 Original-Received: from mail-qt1-x835.google.com ([2607:f8b0:4864:20::835]:42613) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jnRpa-0005HL-FL for help-gnu-emacs@gnu.org; Mon, 22 Jun 2020 15:10:11 -0400 Original-Received: by mail-qt1-x835.google.com with SMTP id e12so2638948qtr.9 for ; Mon, 22 Jun 2020 12:10:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=cuyCX7S99agzABsmtfFGlHF2UN83HTzPx13xJ7F48xM=; b=qV8iL061tFb2jGixo6VdDPDHHh2YPiTGEQrQIfXtK2Vwt0oAm28/RQSs0gyTts2oVr ozWBakl9bmZt8Za0jyJEsKY+Pgb36vAznEgKz4hsZH071ux0ZDP59ztwN8PVGBMRl+PT MWvQXY9k4plSE/+Uj0b96niqqMkQIcPjnmvZR2dQFKVSmqMRgNYThZ6zhHEi+jf+tFqV UZ4g1FQL4/1uG/XRHZHEUhTCPMJ0s8LRE+j0nCEg/n4JlvF3mlam55UET4TFacxIQUIR z/xhNP/pYxiZW8jUhAHPg69hzr2BPnKgNKukum61SY4gSO1FCbR6T2Edhplg+vBMHc+V doAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=cuyCX7S99agzABsmtfFGlHF2UN83HTzPx13xJ7F48xM=; b=JxYqM9f4leT4OZX+uZrRwdVZKaN70y0KRCzdUOKnzx/J2lEP4AuRjiDdZKqWvza92c uv3RbnQxNGFtZXJ0fpymUNfg0Za/Wn1cpjXXWEkXzBj4YSbiOWRXhwgDmhLFtX1dVLwY n22/evG1ZZcpYj0XfUzaHH7tf5H/FmDO8SfPXoOh1QQwfAX9XXKp1r429e2j9gL2g+8K Id3jZ8q82nu8hqyyf0ScYPPPC3sNTm/wEn+91o31eCjqQcq1kc0H2XT8MF5rbApjD1Sb YWPzYItoD6UUhZKMLcuetv/itbV7MDMvPVk8f0Us3dEjmIgQ86pNJIvLPKS74lt3Ubqv 2SuA== X-Gm-Message-State: AOAM531DLmQ32NViRGrco7vu2n8oFVLv+rfyNmzjLK/50VY0pssRNuOb ng53J1GXHqC/Q+iJkRVhuig= X-Google-Smtp-Source: ABdhPJzJ+wl3AyiHEEA+9mpGm+DToI98HZ25c6amL5ZfrMakSooIC77IsDP2AA6I23kdNi7W7cZVJQ== X-Received: by 2002:aed:2577:: with SMTP id w52mr17985904qtc.252.1592853009432; Mon, 22 Jun 2020 12:10:09 -0700 (PDT) Original-Received: from ?IPv6:2601:98a:4200:9210:4db3:689a:8b65:21d1? ([2601:98a:4200:9210:4db3:689a:8b65:21d1]) by smtp.gmail.com with ESMTPSA id r37sm15911665qtk.34.2020.06.22.12.10.08 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Jun 2020 12:10:08 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3608.80.23.2.2) Received-SPF: pass client-ip=2607:f8b0:4864:20::835; envelope-from=casouri@gmail.com; helo=mail-qt1-x835.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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=_AUTOLEARN 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:123423 Archived-At: > On Jun 22, 2020, at 2:56 PM, Stefan Monnier = wrote: >=20 >> Some one reported that when they change the text size with >> text-scale-adjust, the alignment are messed up. >=20 > If the alignment is done before changing the text-scale, then it's no > big surprise, since text-scale won't scale everything by the same = factor. >=20 I see. I calculate the text size base on the assumption that the text = scale is the same for all glyphs. That explains why my measuring are = off. Yuan=