GNU bug report logs - #68157
30.0.50; Size of selected font is wrong

Previous Next

Package: emacs;

Reported by: Arash Esbati <arash <at> gnu.org>

Date: Sat, 30 Dec 2023 21:50:02 UTC

Severity: normal

Found in version 30.0.50

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Arash Esbati <arash <at> gnu.org>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: 68157 <at> debbugs.gnu.org
Subject: bug#68157: 30.0.50; Size of selected font is wrong
Date: Sun, 31 Dec 2023 00:00:08 +0100
Stefan Kangas <stefankangas <at> 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.





This bug report was last modified 1 year and 203 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.