Calling (face-font 'default) on a text-based terminal gives nil,
throwing an error from face-font that then refuses to render
the page. Leaving fill-column the same for text terminals
should work.
Respectfully submitted,
J.P.
jpsa@pm.me
(2 'elpher-gemini-heading2)
(3 'elpher-gemini-heading3)
(_ 'default)))
- (fill-column (/ (* fill-column
+ (fill-column (if (face-font 'default) (/ (* fill-column
(font-get (font-spec :name (face-font 'default)) :size))
- (font-get (font-spec :name (face-font face)) :size))))
+ (font-get (font-spec :name (face-font face)) :size)) fill-column))
(unless (display-graphic-p)
(insert (make-string level ?#) " "))
(insert (propertize header 'face face))