Bug 34583 - default.attributeHeight from X resources has no effect for the faces
Summary: default.attributeHeight from X resources has no effect for the faces
Status: NEW
Alias: None
Product: Branch p7
Classification: Distributions
Component: emacs24-X11-athena (show other bugs)
Version: не указана
Hardware: all Linux
: P3 normal
Assignee: Andrey Cherepanov
QA Contact: qa-p7@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-26 14:18 MSK by Ivan Zakharyaschev
Modified: 2023-03-09 20:36 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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