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

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

Re: Italics with Inconsolata font


From: Eric Abrahamsen
Subject: Re: Italics with Inconsolata font
Date: Sat, 10 Aug 2013 00:12:10 +0800
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux)

Frederik <freak.fred@gmail.com> writes:

> 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?

No, I don't think Inconsolata has italics -- most monospace fonts don't
(though apparently DejaVu does!). I'm also using the Arch package as
well, and I've noticed Inconsolata doesn't provide beyond basic ascii.

> 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




reply via email to

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