From aa75538a7139278c120ccc4361fff634d1b2a715 Mon Sep 17 00:00:00 2001 From: plugd Date: Mon, 2 May 2022 17:40:45 +0200 Subject: [PATCH] Removed preformatted-specific face. This was causing multiple issues, including (a) conflicts with the ANSI interpreter and (b) producing non-monospaced output even with the face set to inherit from fixed-pitch due (I think?) to Unicode font rendering wierdness. --- elpher.el | 5 ----- 1 file changed, 5 deletions(-) diff --git a/elpher.el b/elpher.el index 4498c6c..e7b37ba 100644 --- a/elpher.el +++ b/elpher.el @@ -310,10 +310,6 @@ meaningfully." '((t :inherit bold :height 1.2)) "Face used for gemini heading level 3.") -(defface elpher-gemini-preformatted - '((t :inherit fixed-pitch)) - "Face used for pre-formatted gemini text blocks.") - (defface elpher-gemini-quoted '((t :inherit font-lock-doc-face)) "Face used for gemini quoted texts.") @@ -1642,7 +1638,6 @@ If non-nil, ALT-TEXT is displayed alongside the button." PREF-ID is the value assigned to the \"invisible\" text attribute, which can be used to toggle the display of the preformatted text." (insert (propertize (concat (elpher-process-text-for-display line) "\n") - 'face 'elpher-gemini-preformatted 'invisible pref-id 'rear-nonsticky t))) -- 2.20.1