Mercurial > hg > xemacs-beta
comparison man/xemacs/custom.texi @ 4666:4c1a8323aa9a
Fix incorrect Xft resources in Info docs.
author | Stephen J. Turnbull <stephen@xemacs.org> |
---|---|
date | Tue, 28 Jul 2009 23:19:27 +0900 |
parents | 6b0000935adc |
children | 5502045ec510 |
comparison
equal
deleted
inserted
replaced
4665:f3a65dff1912 | 4666:4c1a8323aa9a |
---|---|
2564 @end itemize | 2564 @end itemize |
2565 | 2565 |
2566 Here are the resources I use. @strong{Warning:} @emph{This interface | 2566 Here are the resources I use. @strong{Warning:} @emph{This interface |
2567 will change. Pay attention to beta announcements, and complain loudly | 2567 will change. Pay attention to beta announcements, and complain loudly |
2568 if changes aren't documented here!} The tab control and menubar have | 2568 if changes aren't documented here!} The tab control and menubar have |
2569 separate Font and XftFont resources, and use the X resource manager to | 2569 separate @code{Font} and @code{FcFontName} resources, and use the X |
2570 instantiate a FontStruct from the Font resource. There is no converter | 2570 resource manager to instantiate a FontStruct from the @code{Font} |
2571 facility for XftFont yet, and creating one that handles both FontStruct | 2571 resource. There is no converter facility for @code{FcFontName} yet, and |
2572 and XftFont depending on XEmacs's configuration and the font name seems | 2572 creating one that handles both FontStruct and XftFont depending on |
2573 error-prone at best. Probably we will use a simple string | 2573 XEmacs's configuration and the font name seems error-prone at best. |
2574 representation for this resource, and convert to a face in XEmacs rather | 2574 Probably we will use a simple string representation for this resource, |
2575 than a font in Xt/Xft. | 2575 and convert to a face in XEmacs rather than a font in Xt/Xft. (The |
2576 @example | 2576 older @code{XftFont} resource is deprecated. There is code intended to |
2577 XEmacs*Tabs.xftFont: Bitstream Vera Sans-16 | 2577 implement backward compatibility, but there are repots that it doesn't |
2578 XEmacs*menubar*xftFont: Bitstream Vera Sans-16 | 2578 work properly.) |
2579 @example | |
2580 XEmacs*Tabs.fcFontName: Bitstream Vera Sans-16 | |
2581 XEmacs*menubar*fcFontName: Bitstream Vera Sans-16 | |
2579 XEmacs.modeline.attributeFont: Bitstream Charter-16 | 2582 XEmacs.modeline.attributeFont: Bitstream Charter-16 |
2580 XEmacs.default.attributeFont: Bitstream Vera Sans Mono-16 | 2583 XEmacs.default.attributeFont: Bitstream Vera Sans Mono-16 |
2581 @end example | 2584 @end example |
2582 I highly recommend use of a proportional font in the modeline because it | 2585 I highly recommend use of a proportional font in the modeline because it |
2583 allows a lot more text to fit there. | 2586 allows a lot more text to fit there. |