emacs-devel
[Top][All Lists]
Advanced

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

Ping! Re: `font-spec` unable to retrieve :name of font


From: Alexis
Subject: Ping! Re: `font-spec` unable to retrieve :name of font
Date: Thu, 22 Oct 2015 19:48:09 +1100


Ping! Does anyone have any thoughts on the below? TIA!

Alexis <address@hidden> writes:

Hi all,

Having tried various alternatives, i now use Inconsolata-g as my preferred general Emacs font:

    http://leonardo-m.livejournal.com/77079.html

using Xft as my Emacs font backend.

In trying to use the `company-quickhelp` package, however, i discovered that it wasn't working due to a call to `pos-tip-show`, which in turn essentially calls:

(font-spec :name (frame-parameter (window-frame (selected-window)) 'font))

This call results in:

(error "Invalid font name: -unknown-Inconsolata-g-normal-normal-normal-*-13-*-*-*-m-0-iso10646-1")

which is, of course, due to the dash in the font name; the X Logical Font Description Conventions:

    
http://www.x.org/releases/X11R7.6/doc/xorg-docs/specs/XLFD/xlfd.html#fontname_syntax

exclude the dash/hyphen as a valid in-field character.

What, if anything, can be done about this? Should this be considered a bug, or "working as intended"?


Alexis.




reply via email to

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