unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* `font-spec` unable to retrieve :name of font
@ 2015-10-13  2:13 Alexis
  2015-10-22  8:48 ` Ping! " Alexis
  0 siblings, 1 reply; 9+ messages in thread
From: Alexis @ 2015-10-13  2:13 UTC (permalink / raw)
  To: emacs-devel


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.



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-10-27  2:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-13  2:13 `font-spec` unable to retrieve :name of font Alexis
2015-10-22  8:48 ` Ping! " Alexis
2015-10-22 14:59   ` Eli Zaretskii
2015-10-23  9:55     ` Alexis
2015-10-24 17:45       ` Nix
2015-10-24 17:57         ` Eli Zaretskii
2015-10-24 18:04         ` Drew Adams
2015-10-26 14:10           ` Nix
2015-10-27  2:32             ` Stephen J. Turnbull

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).