From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Anand Tamariya Newsgroups: gmane.emacs.devel Subject: Re: Font display size is incorrect Date: Sun, 13 Jun 2021 19:15:02 +0530 Message-ID: References: <83sg1m6uwb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000043c73705c4a5f3c3" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11085"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 13 15:46:37 2021 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 1lsQRh-0002bn-D4 for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Jun 2021 15:46:37 +0200 Original-Received: from localhost ([::1]:48760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsQRg-0004ns-EQ for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Jun 2021 09:46:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsQQP-0003MT-Dr for emacs-devel@gnu.org; Sun, 13 Jun 2021 09:45:17 -0400 Original-Received: from mail-il1-x132.google.com ([2607:f8b0:4864:20::132]:45763) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lsQQN-0008Vc-9H; Sun, 13 Jun 2021 09:45:17 -0400 Original-Received: by mail-il1-x132.google.com with SMTP id b5so9870069ilc.12; Sun, 13 Jun 2021 06:45:14 -0700 (PDT) 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=sGJ+jmX6cnoydixIKI6ma/sz1097CVRhUErERtAGINw=; b=gTsEVc+aSKlXk4Qu6Si4YUYOvGfiY9tuFz3qXkT2A8HxHlitSbywolMGMWxFSIxDRU xHgmtwTYWhIOqGWrnrgZADkZb7lLRpBmVkSYik2SHsdmUwpgquEp5Nu+KyOey1x565c2 xsXgcOOV7fpZN5nEO0kIoZhlcLf318B4lfBIj2L2ynnlr+mhf1L/pjE/ZXKlzhdTMQO8 xeOCiLwhHSwMby81exUh66AyO1FS+k4vIho8AC5kwsEB5CYBG1cH3U7hR+vllUWRy3Wf 4M44wmPz9bMvBPEpVuUcsk1kvd9sj03Ye7PP+I2XHbCIubEQM7PsyNu6u/hJkxf2FRze 4i4A== 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=sGJ+jmX6cnoydixIKI6ma/sz1097CVRhUErERtAGINw=; b=mLRTVkMjpIqtaDssnODAtsWZkkd52y/k0uZUmQ99pG0VnaIzuid7Igq7yxArMVtBAm fQZY89t7mdeNvvgw0Zsym7Ee4jDQ6WqlFJ4fsdAs7sDjg9qbzLz6Gb1tMdYi6yA6BR1H 1XayKJPezF0C6G4IDiOp4ORouCmcV+FCemW2rlnRoRO87SH1p3TDKW4T0/l0LWgtRB7y WjpjIYs8yYFmX3L/1J5Wxfkd75tMoUxwKI0MxDJYn1UaS2yfRWmkY+zkKJ0nHqVQGFWP 1FqYdVSxWN7JtFK83yijxgxeEQ2ouPLKQv1HN6LIPoN+Kr0iF4DfBRk4WqUn6wOWHxsA vcTQ== X-Gm-Message-State: AOAM533mIf4CGI5IolDobRJg8vn2rolppKQhM/65Pv2Kdzn8RpImDb/0 LbF5OFDWZrs1Fuyz7Emf6Xi+SCLfF/5+5Cvk1uPKR375 X-Google-Smtp-Source: ABdhPJytn4ZTMKWU/TSl30tZ3WOXowg+Z/crmB3j9BoxK41KuSNOR2gbPXww9/QxuWDaq9phkhc1ohiXz4OJI+t/QBI= X-Received: by 2002:a05:6e02:14cd:: with SMTP id o13mr2756646ilk.49.1623591913505; Sun, 13 Jun 2021 06:45:13 -0700 (PDT) In-Reply-To: <83sg1m6uwb.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::132; envelope-from=atamariya@gmail.com; helo=mail-il1-x132.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, HTML_MESSAGE=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: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:270796 Archived-At: --00000000000043c73705c4a5f3c3 Content-Type: text/plain; charset="UTF-8" On Sun, Jun 13, 2021 at 1:47 PM Eli Zaretskii wrote: > > From: Anand Tamariya > > Date: Sun, 13 Jun 2021 11:17:44 +0530 > > > > In the screenshot ( > https://lifeofpenguin.blogspot.com/2021/06/basic-wysiwyg-printing-in-gnu-emacs.html), > > > :height property is set as the number in parentheses. The text display > size is incorrect in some cases. > > Following pairs are shown as same size: 120-130, 170-180, 210-220, > 230-240. > > If you look closely at the produced display, you will see that the > heights of the above pairs of lines are indeed different; it's the > _width_ that is identical. So it sounds like you expected the width > to change together with the height, but I'm not sure I understand why > such an assumption is justified. > If the fonts are only vertically stretched for their heights, all the lines should be the same width. This is not the case. What's the algorithm here? Is there a recommended way to draw 17pt and 18pt text so that they appear distinct proportionally as they would in a hardcopy? --00000000000043c73705c4a5f3c3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Sun, Jun 13, 2021 at 1:47 PM Eli Z= aretskii <eliz@gnu.org> wrote:
> From: Anand T= amariya <atamar= iya@gmail.com>
> Date: Sun, 13 Jun 2021 11:17:44 +0530
>
> In the screenshot (https://lifeofpenguin.blogspot.com/2021/06/basic-wysiwyg-printing-in= -gnu-emacs.html),
> :height property is set as the number in parentheses. The text display= size is incorrect in some cases.
> Following pairs are shown as same size: 120-130, 170-180, 210-220, 230= -240.

If you look closely at the produced display, you will see that the
heights of the above pairs of lines are indeed different; it's the
_width_ that is identical.=C2=A0 So it sounds like you expected the width to change together with the height, but I'm not sure I understand why such an assumption is justified.
If the fonts are only= vertically stretched for their heights, all the lines should be the same w= idth. This is not the case. What's the algorithm here?
Is the= re a recommended way to draw 17pt and 18pt text so that they appear distinc= t proportionally as they would in a hardcopy?
--00000000000043c73705c4a5f3c3--