If you find a solution to this, beer is on me. The best I've been able to come up with so far is to put the following in my .emacs somewhere and run the function after loading the mode that does this (in org-mode).
(defun fix-fonts () (interactive) (mapc (lambda (face) (set-face-attribute face nil ;; :family (if (string= system-type "darwin") ;; "Menlo" ;; "Inconsolata") :width 'normal :height 1.0 :weight 'normal :underline nil :slant 'normal)) (remove 'default (face-list))))
I don't do family business anymore, because I didnβt have time to find a good way to programmatically get it right, and that doesn't seem to matter, but your mileage may change. In addition, I do not set anything in the default font, because some of the other values ββare relative and need a fixed breakpoint.
source share