Re: `x-list-fonts' on Windows 7
Drew Adams <[email protected]>
| Newsgroups | gmane.emacs.windows |
|---|---|
| Message-ID | <49fe524d-e259-43f9-a1c1-fb6c2cab742c@default> |
> > `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.