Subject: print error messages about why specified font size is not used

From: [email-masked]
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.