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

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

bug#14659: 24.3.50; `modify-frame-parameters' raises error for font retu


From: Lars Ingebrigtsen
Subject: bug#14659: 24.3.50; `modify-frame-parameters' raises error for font returned by `xs-list-fonts'
Date: Fri, 01 Nov 2019 18:37:18 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Drew Adams <drew.adams@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





reply via email to

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