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

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

Re: doc of x-family-fonts


From: Eli Zaretskii
Subject: Re: doc of x-family-fonts
Date: Sun, 04 Jun 2006 23:41:33 +0300

> From: "Drew Adams" <address@hidden>
> Date: Sat, 3 Jun 2006 15:31:17 -0700
> Cc: Lennart Borgman <address@hidden>
> 
> I tried emacs -Q, then M-: (x-family-fonts). Result: nil.

Set scalable-fonts-allowed non-nil, and you will see a more
interesting result.

In general, you've picked a wrong platform to learn about this,
because the Emacs font system comes from X, and the MS-Windows port
tries to pretend it behaves the same (so that users could have the
same font customizations in their .emacs as on X), but really doesn't
and cannot.  Unfortunately, the Windows-specific aspects of the fonts
support are completely undocumented in the manuals; volunteers are
welcome.

I'm not sure I understand this issue enough myself, but see, for
example, mouse-set-font on w32-win.el and w32-fixed-font-alist on
w32-vars.el, for some revealing details and optional variables.

> When I try (x-list-fonts "*") I get a list of fonts, but it is
> completely different from the list I get via Shift mouse-1. Why is
> that? Just what is each list used for in Emacs?

AFAIK, S-mouse-1 shows the native Windows font names (unless you set
w32-use-w32-font-dialog to nil), while the other methods show X-style
font names.  But I might be mistaken.




reply via email to

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