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

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

Re: [h-e-w] `x-list-fonts' on Windows 7


From: Drew Adams
Subject: Re: [h-e-w] `x-list-fonts' on Windows 7
Date: Sat, 1 Jun 2013 08:11:40 -0700 (PDT)

> > `x-list-fonts' on Windows XP worked fine with all Emacs versions starting
> > with 20 (at least).
> >
> > On Windows 7 with Emacs 20, `x-list-fonts' systematically returns nil,
>
> > `x-list-fonts' is built in, so I imagine there is no solution, but
> > perhaps someone has an idea?
> 
> Emacs 20 used an old and deprecated API (EnumFontFamilies) to list the
> fonts.  Emacs 21 and later uses more modern APIs when available.  I
> cannot find any discussions of EnumFontFamilies failure on Windows 7,
> but I guess this is what you see.  Or maybe Emacs called that API in a
> semi-buggy way that fails only on later Windows versions.
> 
> Sorry, I don't know more and don't have an Emacs 20 binary to debug
> this.

OK, thanks for the info.  Guess there is no solution.



reply via email to

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