tomwalters@0: .TH X11FONTS 1 "1 September 1993" tomwalters@0: tomwalters@0: .SH NAME tomwalters@0: x11fonts \- search and display fonts. tomwalters@0: tomwalters@0: .SH SYNTAX tomwalters@0: x11fonts [options] [name_patterns] tomwalters@0: tomwalters@0: .SH DESCRIPTION tomwalters@0: tomwalters@0: Display the font for each font name found in the current font search path tomwalters@0: which matches a given name_pattern. tomwalters@0: Each name_pattern may contain wild-card (*) characters, (but tomwalters@0: names with wild-cards should be quoted to escape the shell). tomwalters@0: The default name_pattern is "*", meaning all fontnames. tomwalters@0: tomwalters@0: Each font is displayed in an X window in the form: tomwalters@0: tomwalters@0: .nf tomwalters@0: [m/n] tomwalters@0: tomwalters@0: tomwalters@0: .fi tomwalters@0: tomwalters@0: showing the m'th font out of n fonts which match the current name_pattern. tomwalters@0: The pointer is used to click through the fonts which match each given name_pattern tomwalters@0: as follows: tomwalters@0: tomwalters@0: .nf tomwalters@0: left button tomwalters@0: .fi tomwalters@0: tomwalters@0: Clear the last font displayed and tomwalters@0: display the font for the next fontname in its place. tomwalters@0: tomwalters@0: .nf tomwalters@0: centre button tomwalters@0: .fi tomwalters@0: tomwalters@0: Display the font for the next fontname beneath the last font tomwalters@0: displayed. This is used to store particular fonts for comparison with others. tomwalters@0: When successive fonts have filled the window tomwalters@0: it is cleared and the last font is re-displayed at the top of tomwalters@0: the window. tomwalters@0: tomwalters@0: .nf tomwalters@0: right button tomwalters@0: .fi tomwalters@0: tomwalters@0: Begin the next name_pattern. tomwalters@0: The program quits when there are no more name patterns. tomwalters@0: tomwalters@0: .SH OPTIONS tomwalters@0: tomwalters@0: .nf tomwalters@0: -n tomwalters@0: .fi tomwalters@0: tomwalters@0: Print on the stdout a count of the fonts found in the search tomwalters@0: path which match each name_pattern. tomwalters@0: tomwalters@0: .nf tomwalters@0: -l tomwalters@0: .fi tomwalters@0: tomwalters@0: Print on the stdout a list of the font names found in the tomwalters@0: search path which match each name_pattern. tomwalters@0: tomwalters@0: .nf tomwalters@0: -P tomwalters@0: .fi tomwalters@0: tomwalters@0: Print on the stdout the current font search path tomwalters@0: (see: XGetFontPath XSetFontPath). tomwalters@0: tomwalters@0: tomwalters@0: .SH EXAMPLES tomwalters@0: tomwalters@0: 1. Print a count of how many fonts match the name_pattern "-adobe*" and then tomwalters@0: list their names on the stdout. tomwalters@0: tomwalters@0: .nf tomwalters@0: x11fonts -n "-adobe*" tomwalters@0: x11fonts -l "-adobe*" tomwalters@0: .fi tomwalters@0: tomwalters@0: 2. Compare fonts "fixed" and "variable" (use button sequence: right, centre). tomwalters@0: tomwalters@0: .nf tomwalters@0: x11fonts fixed variable tomwalters@0: .fi tomwalters@0: tomwalters@0: 3. Display the alphabet of a particular font name "7x14", then of all fonts tomwalters@0: ending with the pattern "x16", and then of all bold fonts. tomwalters@0: tomwalters@0: .nf tomwalters@0: x11fonts 7x14 "*x16" "*bold*" tomwalters@0: .fi tomwalters@0: tomwalters@0: .SH COPYRIGHT tomwalters@0: .LP tomwalters@0: Copyright (c) Applied Psychology Unit, Medical Research Council, 1995 tomwalters@0: .LP tomwalters@0: Permission to use, copy, modify, and distribute this software without fee tomwalters@0: is hereby granted for research purposes, provided that this copyright tomwalters@0: notice appears in all copies and in all supporting documentation, and that tomwalters@0: the software is not redistributed for any fee (except for a nominal tomwalters@0: shipping charge). Anyone wanting to incorporate all or part of this tomwalters@0: software in a commercial product must obtain a license from the Medical tomwalters@0: Research Council. tomwalters@0: .LP tomwalters@0: The MRC makes no representations about the suitability of this tomwalters@0: software for any purpose. It is provided "as is" without express or tomwalters@0: implied warranty. tomwalters@0: .LP tomwalters@0: THE MRC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING tomwalters@0: ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL tomwalters@0: THE A.P.U. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES tomwalters@0: OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, tomwalters@0: WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, tomwalters@0: ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS tomwalters@0: SOFTWARE. tomwalters@0: