help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Italics with Inconsolata font


From: Frederik
Subject: Italics with Inconsolata font
Date: Fri, 09 Aug 2013 16:50:10 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130806 Thunderbird/17.0.8

Hey there!

I don't manage to display italics in emacs with the Inconsolata font. I
searched the web and found some bug reports, but they date back to 2009.

I remember when using Windows some years ago everything worked out of
the box -- Inconsolata does have oblique/italic glyphs, doesn't it?

I encountered something odd: When I do S-<Mouse 1> -> `Change buffer
font' the dialogue shows me Inconsolata Medium (Regular), Italics, Bold
and Bold-Italics. But selecting `Regular' will make the whole buffer
font bold, selecting `Italics' will change back to the regular font
face; the other two options result both in a bold face.

My settings:

.Xresources:
Emacs.FontBackend: xft
Emacs.font: Inconsolata:pixelsize=15:slant=italic

.emacs
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(italic ((t (:slant italic)))))

(Emacs 24.3.1 on Arch Linux.)

However, I do get italics in emacs when changing the .Xresources to
Emacs.font: DejaVu Sans Mono

Any hints greatly appreciated!

Regards

-- 
Frederik




reply via email to

[Prev in Thread] Current Thread [Next in Thread]