Reputation: 55353
I have this in my .emacs: (set-frame-font "Consolas-10")
and I also tried this: (set-frame-font "Consolas-10")
But the font between the <h2>
tags are not Consolas (or maybe Italic Consolas):
alt text http://img10.imageshack.us/img10/6865/emacs2.jpg
How can I change the font of elements between html tags (or disable italics, bold, etc.)?
Upvotes: 1
Views: 321
Reputation: 6926
Looking at your earlier question it seems to me that you should be able to use the same idea and simply disable the use of italics on font faces (include all the other setting from that other question if you want to disable bold and underline as well):
(mapc
(lambda (face)
(set-face-attribute face nil :slant 'normal))
(face-list))
Upvotes: 1