GNU bug report logs - #14659
24.3.50; `modify-frame-parameters' raises error for font returned by `xs-list-fonts'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Tue, 18 Jun 2013 21:27:02 UTC

Severity: minor

Tags: moreinfo

Found in version 24.3.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 14659 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 14659 <at> debbugs.gnu.org
Subject: Re: 24.3.50; `modify-frame-parameters' raises error for font
 returned by `xs-list-fonts'
Date: Fri, 01 Nov 2019 18:37:18 +0100
Drew Adams <drew.adams <at> oracle.com> writes:

> Not sure there is a bug here, but I think so.
>
> (x-list-fonts "*") returns a list containing this XLFD font name
> (and two other names that are similar):
> "-outline-DFKai-SB-normal-normal-normal-script-*-*-*-*-c-*-iso8859-1".
>
> That is not a valid XFLD name (e.g., it contains 15, not 14, hyphens).

I tried this on this Debian laptop:

(loop for font in (x-list-fonts "*")
      unless (= (loop for char across font
		   when (= char ?-)
		   sum 1)
		14)
      do (insert font "\n"))

and there were no fonts returned by the function that's invalid in this
way.  I don't know whether that's because I just don't have any such
font, or whether x-list-fonts has been fixed not to return these invalid
font strings.

Are you still seeing this?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 206 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.