unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Arash Esbati <arash@gnu.org>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: 68157@debbugs.gnu.org
Subject: bug#68157: 30.0.50; Size of selected font is wrong
Date: Sun, 31 Dec 2023 00:00:08 +0100	[thread overview]
Message-ID: <m2sf3js3d3.fsf@macmutant.fritz.box> (raw)
In-Reply-To: <CADwFkmnP6EL7tLqbG=U7rWAzvGGKz=FAPtv9L6FSdcdZCTYp8Q@mail.gmail.com> (Stefan Kangas's message of "Sat, 30 Dec 2023 14:30:13 -0800")

Stefan Kangas <stefankangas@gmail.com> writes:

> Could you please explain how the size is wrong?

The size of the font selected is way too large:

  • I select 'Source Code Pro' at 11pt and get 22pt[1]:
      mac-ct:-*-Source Code Pro-regular-normal-normal-*-22-*-*-*-m-0-iso10646-1 (#x01)
  • I select 'Courier New' at 10pt and get 20pt:
      mac-ct:-*-Courier New-regular-normal-normal-*-20-*-*-*-m-0-iso10646-1 (#x52)

I had this in my custom file:

  (custom-set-faces
   '(default ((t (:family "Source Code Pro" :foundry "nil" :slant normal
                  :weight medium :height 110 :width normal))))

which now gives a huge font.  I had to turn it into:

  (custom-set-faces
   '(default ((t (:family "Source Code Pro" :foundry "nil" :slant normal
                  :weight medium :height 55 :width normal))))

in order to get back to normal state with:

  mac-ct:-*-Source Code Pro-medium-normal-normal-*-11-*-*-*-m-0-iso10646-1 (#x29)

> Also, does `C-x C-M-0 +' work?

Yes, but the baseline is the large font size as described above.

Best, Arash

Footnotes:
[1]  I pasted the wrong snippet in my last message; sorry.






  reply	other threads:[~2023-12-30 23:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-30 21:49 bug#68157: 30.0.50; Size of selected font is wrong Arash Esbati
2023-12-30 22:30 ` Stefan Kangas
2023-12-30 23:00   ` Arash Esbati [this message]
2023-12-30 23:16 ` Alan Third
2023-12-31  1:16   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-31 10:27     ` Alan Third
2023-12-31  8:34   ` Arash Esbati
2023-12-31 10:31     ` Alan Third

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=m2sf3js3d3.fsf@macmutant.fritz.box \
    --to=arash@gnu.org \
    --cc=68157@debbugs.gnu.org \
    --cc=stefankangas@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).