bug-gnu-emacs
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
bug#40508: 26.2; shr does not make h1 tag larger if variable-pitch font
From
:
ndame
Subject
:
bug#40508: 26.2; shr does not make h1 tag larger if variable-pitch font is set
Date
:
Wed, 8 Apr 2020 16:37:35 +0200 (CEST)
If you change the font of the default variable-pitch face
(set-face-font 'variable-pitch "Arial-15")
then shr renders h1 tags as regular size text.
This is because variable-pitch is listed first in the face setting and
if it is set with size then it overrides the settings coming later:
(defun shr-tag-h1 (dom)
(shr-heading dom (if shr-use-fonts
'(variable-pitch (:height 1.3 :weight bold))
'bold)))
reply via email to
[Prev in Thread]
Current Thread
[Next in Thread]
bug#40508: 26.2; shr does not make h1 tag larger if variable-pitch font is set
,
ndame
<=
Prev by Date:
bug#40507: 26.2; truncate-lines does not respect line-height
Next by Date:
bug#39824: I can't reproduce this any longer (was: bug#39824: 26.2; timers sometimes stop working when coming back from sleep)
Previous by thread:
bug#40507: 26.2; truncate-lines does not respect line-height
Next by thread:
bug#39824: I can't reproduce this any longer (was: bug#39824: 26.2; timers sometimes stop working when coming back from sleep)
Index(es):
Date
Thread