Closed mplanchard closed 3 years ago
On further investigation, I'm thinking this is an issue w/mixed pitch mode. Closing for now!
For anyone who finds this in a google search, the issue in mixed-pitch-mode
is here: jabranham/mixed-pitch#6 (edit: that's archived, the more recent one is here: https://gitlab.com/jabranham/mixed-pitch/-/issues/6)
I'm seeing an issue with this theme (that I do not see with other themes) where, in markdown mode, the size of literal text (enclosed in backticks, whether inline or in blocks) does not increase with the rest of the font. This is true whether I increase the size through
(text-scale-increase)
or(doom/increase-font-size)
.I am running the most recent master commit (0759510), with emacs 27.
Investigating faces, I see that this seems to be true of
markdown-table-face
,markdown-pre-face
,markdown-inline-code-face
,markdown-blockquote-face
, andmarkdown-code-face
.Looking up the inheritance tree, I see these are inheriting from the face
fixed-pitch
, which also is not increasing in size when running the functions above.The font spec for the
fixed-pitch
font is:While the font spec for the default font is:
This doesn't happen with other themes, but it's interesting.
fixed-pitch
still is small in those fonts, but the various markdown fonts are not set to inherit fromfixed-pitch
. I have no idea why this might be. I looked through the theme definition for this theme and a couple of others' (doom's dark+ and kaolin dark), and nothing immediately stands out to me as being weird.FWIW the doom font function seems to increase the font by calling
set-frame-font
and setting a newfont
item in thedefault-frame-alist
with the new font value. It's not immediately clear to me howtext-scale-increase
works.I have no clue why
fixed-pitch
would not be increasing in size, and it's possible the problem is entirely outside this theme.Let me know if there's any other info I could provide that might help!