From: Eli Zaretskii <eliz@gnu.org>
To: Po Lu <luangruo@yahoo.com>
Cc: rpluim@gmail.com, emacs-devel@gnu.org
Subject: Re: master a739cab6637 2/2: ; * doc/lispref/display.texi (Image Descriptors): Insert missing text.
Date: Sat, 08 Jun 2024 16:20:48 +0300 [thread overview]
Message-ID: <86bk4bd0zz.fsf@gnu.org> (raw)
In-Reply-To: <s54tti5t9u8.fsf@yahoo.com> (message from Po Lu on Fri, 07 Jun 2024 16:50:55 +0800)
> From: Po Lu <luangruo@yahoo.com>
> Cc: rpluim@gmail.com, emacs-devel@gnu.org
> Date: Fri, 07 Jun 2024 16:50:55 +0800
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > So this means at least on Windows, where the default font's width is
> > 8, the image will never be scaled in "emacs -Q", am I right?
> >
> > I think on macOS the default width is 7, so the same will happen there
> > as well?
> >
> > What is the default width of the font on GNU/Linux?
>
> 8, though all this is only true when there is no display scale
> configured, even on MS-Windows, correct? This code isn't supposed to
> activate when the display density isn't so high as to require font
> scaling, and in the other case the default font width will be scaled
> beyond 10 pixels.
>
> > And finally, can you tell more about how the scale factor is computed
> > "based on the font's pixel size"? Or point me to the code which does
> > that? I think some of that should be in the manual, to give the users
> > some idea of what will happen.
>
> See line 2699 of image.c.
Thanks, I installed some clarifications of this text.
next prev parent reply other threads:[~2024-06-08 13:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <171740380294.31568.538114951586755322@vcs2.savannah.gnu.org>
[not found] ` <20240603083643.B2E29C009F4@vcs2.savannah.gnu.org>
2024-06-03 11:27 ` master a739cab6637 2/2: ; * doc/lispref/display.texi (Image Descriptors): Insert missing text Robert Pluim
2024-06-06 12:01 ` Eli Zaretskii
2024-06-06 13:18 ` Po Lu
2024-06-06 13:39 ` Eli Zaretskii
2024-06-06 13:58 ` Po Lu
2024-06-06 14:04 ` Robert Pluim
2024-06-06 15:08 ` Eli Zaretskii
2024-06-07 0:14 ` Po Lu
2024-06-07 6:29 ` Eli Zaretskii
2024-06-07 8:50 ` Po Lu
2024-06-08 13:20 ` Eli Zaretskii [this message]
2024-06-08 13:28 ` Po Lu
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=86bk4bd0zz.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=luangruo@yahoo.com \
--cc=rpluim@gmail.com \
/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).