GNU bug report logs - #8488
print error messages about why specified font size is not used

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Wed, 13 Apr 2011 02:13:02 UTC

Severity: minor

Tags: confirmed

To reply to this bug, email your comments to 8488 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8488; Package emacs. (Wed, 13 Apr 2011 02:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to jidanni <at> jidanni.org:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 13 Apr 2011 02:13:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Subject: print error messages about why specified font size is not used
Date: Wed, 13 Apr 2011 08:21:01 +0800
In
(if (eq window-system 'x)
    (progn
      (setq
       default-frame-alist
       '(
	 (fullscreen . maximized)
	 (font . "-sony-fixed-medium-r-normal--16-120-100-100-c-80-iso8859-1")
	 (vertical-scroll-bars . right)))
      (if(/= 0(user-uid))
	  (progn
	    (add-to-list 'default-frame-alist '(background-color . "DarkSlateGray"))
	    (add-to-list 'default-frame-alist '(foreground-color . "Wheat"))
	    )
	(progn
	  (add-to-list 'default-frame-alist '(background-color . "Hotpink4"))
	  (add-to-list 'default-frame-alist '(foreground-color . "Wheat"))
	  ))))

if one uses
	 (font . "-sony-fixed-medium-r-normal--24-120-100-100-c-80-iso8859-1")
instead, not a single error message is printed out why acts just like one still says
	 (font . "-sony-fixed-medium-r-normal--16-120-100-100-c-80-iso8859-1")
Please make sure error messages are produced and can be seen via C-h e.

(info "(emacs) Fonts") doesn't explain the mystery either.

Yes, xlsfonts shows both those fonts are installed.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#8488; Package emacs. (Fri, 01 Nov 2019 16:18:02 GMT) Full text and rfc822 format available.

Message #8 received at 8488 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: jidanni <at> jidanni.org
Cc: 8488 <at> debbugs.gnu.org
Subject: Re: print error messages about why specified font size is not used
Date: Fri, 01 Nov 2019 17:17:12 +0100
jidanni <at> jidanni.org writes:

> if one uses
> 	 (font . "-sony-fixed-medium-r-normal--24-120-100-100-c-80-iso8859-1")
> instead, not a single error message is printed out why acts just like one still says
> 	 (font . "-sony-fixed-medium-r-normal--16-120-100-100-c-80-iso8859-1")
> Please make sure error messages are produced and can be seen via C-h e.
>
> (info "(emacs) Fonts") doesn't explain the mystery either.
>
> Yes, xlsfonts shows both those fonts are installed.

Here's an easier test case:

emacs -fn '-sony-fixed-medium-r-normal--24-120-100-100-c-80-iso8859-1'

There's no warning, but hitting `C-u C-x =' in a char then says:

    x:-sony-fixed-medium-r-normal--16-120-100-100-c-80-iso8859-1 (#x54)

So this bug (if it is a bug) is still present in Emacs 27.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) confirmed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 01 Nov 2019 16:18:02 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 224 days ago.

Previous Next


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