Bug 34583

Summary: default.attributeHeight from X resources has no effect for the faces
Product: Branch p7 Reporter: Ivan Zakharyaschev <imz>
Component: emacs24-X11-athenaAssignee: Andrey Cherepanov <cas>
Status: NEW --- QA Contact: qa-p7 <qa-p7>
Severity: normal    
Priority: P3 CC: samwinchester19999
Version: не указана   
Hardware: all   
OS: Linux   

Description Ivan Zakharyaschev 2018-02-26 14:18:25 MSK
emacs24-X11-athena-24.3-alt8.x86_64

I wanted to set a default font height for Emacs through X resources, but it had no effect on the "default" face.

The value from X resources is seen by Emacs (the code analoguous to what is done in faces.el):

(internal-face-x-get-resource
 (concat "default" ".attributeHeight")
 "Face.AttributeHeight"
 default-minibuffer-frame)

gives: "90", as specified by my X resources:

$ xrdb -query
Emacs.Foreground:	black
Emacs.bold-italic.attributeForeground:	blue
Emacs.paned.menubar.font:	fixed
Emacs*cursorColor:	Orchid
Emacs*bitmapIcon:	on
Emacs.default.attributeFamily:	fixed
Emacs.default.attributeHeight:	90
Emacs.fullscreen:	maximized
Emacs.toolBar:	0
$ 

This is possibly fixed since 24.4 -- https://git.gnu.io/gnu/emacs/commit/f5e4494cd06f7624382f815585419f489bfe36c3?view=inlineh .
Comment 1 Ivan Zakharyaschev 2018-02-26 14:59:17 MSK
(In reply to comment #0)

> This is possibly fixed since 24.4 --
> https://git.gnu.io/gnu/emacs/commit/f5e4494cd06f7624382f815585419f489bfe36c3?view=inlineh
> .

Yes, this is fixed in 24.5-alt16 from p8.
Comment 2 samwinchester19999 2023-03-09 20:36:14 MSK
Emacs.bold-italic.attributeForeground:	blue
Emacs.paned.menubar.font:	fixed
Emacs*cursorColor: https://essayservice.io/	Orchid
Emacs*bitmapIcon:	on
Emacs.default.attributeFamily:	fixed
Emacs.default.attributeHeight:	90
Emacs.fullscreen:	maximized
Emacs.toolBar:	0

Thanks for fix