Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed-pitch fonts don't scale in org mode #60

Open
jolitp opened this issue Jun 28, 2021 · 0 comments
Open

fixed-pitch fonts don't scale in org mode #60

jolitp opened this issue Jun 28, 2021 · 0 comments

Comments

@jolitp
Copy link

jolitp commented Jun 28, 2021

Following the Emacs From Scratch series, when reaching video 5 on org mode.

Using the following code:
` (set-face-attribute 'org-block nil :foreground nil :inherit 'fixed-pitch)
(set-face-attribute 'org-code nil :inherit '(shadow fixed-pitch))
(set-face-attribute 'org-table nil :inherit '(shadow fixed-pitch))
(set-face-attribute 'org-verbatim nil :inherit '(shadow fixed-pitch))
(set-face-attribute 'org-special-keyword nil :inherit '(font-lock-comment-face fixed-pitch))
(set-face-attribute 'org-meta-line nil :inherit '(font-lock-comment-face fixed-pitch))
(set-face-attribute 'org-checkbox nil :inherit 'fixed-pitch)

`

And using the hydra keybinding set in earlier videos, the "toggles" "scale text".
The zoom only affect the variable pitch fonts, the fixed pitch stays the same.

by commenting the above snippet I made the whole text scale together, but there are no fixed-pitch font anymore, which is not what I want.

Any Ideas on how to solve this?

you can see the whole config here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant