From: Eli Zaretskii <eliz@gnu.org>
To: Anand Tamariya <atamariya@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Font display size is incorrect
Date: Sun, 13 Jun 2021 17:04:34 +0300 [thread overview]
Message-ID: <83im2h7te5.fsf@gnu.org> (raw)
In-Reply-To: <CADm7Y4kqEgdsfRkefDW7BVLA_QO=Ly1fqWJ6+gvMAjz11vV3sQ@mail.gmail.com> (message from Anand Tamariya on Sun, 13 Jun 2021 19:15:02 +0530)
> From: Anand Tamariya <atamariya@gmail.com>
> Date: Sun, 13 Jun 2021 19:15:02 +0530
> Cc: emacs-devel@gnu.org
>
> 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?
I don't think (but am not sure) the algorithm for choosing the width
for specific height is in Emacs. I think it's in the font back-end,
like Fontconfig.
> Is there a recommended way to draw 17pt and 18pt text so that they appear distinct proportionally as they
> would in a hardcopy?
Sorry, I don't think I understand the question (and am not an expert
on font-related issues anyway).
prev parent reply other threads:[~2021-06-13 14:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-13 5:47 Font display size is incorrect Anand Tamariya
2021-06-13 8:17 ` Eli Zaretskii
2021-06-13 13:45 ` Anand Tamariya
2021-06-13 14:04 ` Eli Zaretskii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83im2h7te5.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=atamariya@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).