xfontsel(1)


NAME

   xfontsel - point and click selection of X11 font names

SYNTAX

   xfontsel  [-toolkitoption  ...]   [-pattern fontname] [-print] [-sample
   text] [-sample16 text16] [-sampleUCS textUCS] [-scaled]

DESCRIPTION

   The xfontsel application provides a simple way  to  display  the  fonts
   known  to  your  X  server, examine samples of each, and retrieve the X
   Logical Font Description ("XLFD") full name for a font.

   If -pattern is not specified, all fonts with XLFD 14-part names will be
   selectable.   To work with only a subset of the fonts, specify -pattern
   followed by a partially or fully qualified font name; e.g.,  ``-pattern
   *medium*''  will  select  that subset of fonts which contain the string
   ``medium'' somewhere in their font name.   Be  careful  about  escaping
   wildcard characters in your shell.

   If  -print is specified on the command line the selected font specifier
   will be written to standard output when the quit button  is  activated.
   Regardless  of  whether or not -print was specified, the font specifier
   may be made the PRIMARY  (text)  selection  by  activating  the  select
   button.

   The  -sample option specifies the sample text to be used to display the
   selected font if the font is linearly indexed, overriding the default.

   The -sample16 option specifies the sample text to be  used  to  display
   the  selected  font  if  the  font  is  matrix  encoded, overriding the
   default.

   The -sampleUCS option specifies the sample text encoded  in  the  UTF-8
   form  to  be  used  to  display  the  selected  font  if the font has a
   CHARSET_REGISTRY of ISO10646, overriding the default.

   The -scaled option enables  the  ability  to  select  scaled  fonts  at
   arbitrary pixel or point sizes.

INTERACTIONS

   Clicking  any pointer button in one of the XLFD field names will pop up
   a menu  of  the  currently-known  possibilities  for  that  field.   If
   previous choices of other fields were made, only values for fonts which
   matched the previously selected fields  will  be  selectable;  to  make
   other  values  selectable,  you  must  deselect  some other field(s) by
   choosing the ``*'' entry in that field.   Unselectable  values  may  be
   omitted  from  the  menu  entirely  as  a configuration option; see the
   ShowUnselectable resource, below.  Whenever any change  is  made  to  a
   field  value,  xfontsel  will  assert  ownership  of  the  PRIMARY_FONT
   selection.  Other applications (see, e.g., xterm) may then retrieve the
   selected font specification.

   Scalable  fonts come back from the server with zero for the pixel size,
   point size, and average width fields.  Selecting a  font  name  with  a
   zero  in  these  positions results in an implementation-dependent size.
   Any pixel or point size  can  be  selected  to  scale  the  font  to  a
   particular  size.   Any average width can be selected to anamorphically
   scale the font (although you may find this challenging given  the  size
   of the average width menu).

   Clicking  the  left  pointer button in the select widget will cause the
   currently selected font name to become the PRIMARY  text  selection  as
   well  as the PRIMARY_FONT selection.  This then allows you to paste the
   string into other applications.  The select button remains  highlighted
   to  remind  you  of  this  fact,  and  de-highlights  when  some  other
   application takes the PRIMARY selection away.  The select widget  is  a
   toggle;  pressing  it  when  it  is  highlighted will cause xfontsel to
   release  the  selection  ownership   and   de-highlight   the   widget.
   Activating the select widget twice is the only way to cause xfontsel to
   release the PRIMARY_FONT selection.

RESOURCES

   The application class is  XFontSel.   Most  of  the  user-interface  is
   configured  in the app-defaults file; if this file is missing a warning
   message will be printed to standard output  and  the  resulting  window
   will be nearly incomprehensible.

   Most of the significant parts of the widget hierarchy are documented in
   /etc/X11/app-defaults/XFontSel,

   Application specific resources:

   cursor (class Cursor)
           Specifies the cursor for the application window.

   pattern (class Pattern)
           Specifies the font name  pattern  for  selecting  a  subset  of
           available  fonts.   Equivalent  to  the  -pattern option.  Most
           useful patterns will contain at least one field delimiter; e.g.
           ``*-m-*'' for monospaced fonts.

   pixelSizeList (class PixelSizeList)
           Specifies  a list of pixel sizes to add to the pixel size menu,
           so that scalable fonts can be selected at  those  pixel  sizes.
           The default pixelSizeList contains 7, 30, 40, 50, and 60.

   pointSizeList (class PointSizeList)
           Specifies  a list of point sizes (in units of tenths of points)
           to add to the point size menu, so that scalable  fonts  can  be
           selected  at  those  point  sizes.   The  default pointSizeList
           contains 250, 300, 350, and 400.

   printOnQuit (class PrintOnQuit)
           If True the currently selected font name is printed to standard
           output  when  the  quit button is activated.  Equivalent to the
           -print option.

   sampleText (class Text)
           The sample 1-byte text to use for linearly indexed fonts.  Each
           glyph index is a single byte, with newline separating lines.

   sampleText16 (class Text16)
           The  sample  2-byte text to use for matrix-encoded fonts.  Each
           glyph index is two bytes,  with  a  1-byte  newline  separating
           lines.

   scaledFonts (class ScaledFonts)
           If  True  then selection of arbitrary pixel and point sizes for
           scalable fonts is enabled.

   Widget specific resources:

   showUnselectable (class ShowUnselectable)
           Specifies, for each field menu, whether or not to  show  values
           that  are  not  currently selectable, based upon previous field
           selections.  If shown,  the  unselectable  values  are  clearly
           identified  as  such  and  do not highlight when the pointer is
           moved down the  menu.   The  full  name  of  this  resource  is
           fieldN.menu.options.showUnselectable,                     class
           MenuButton.SimpleMenu.Options.ShowUnselectable;  where   N   is
           replaced  with  the  field  number (starting with the left-most
           field numbered 0).  The default is True for all  but  field  11
           (average  width  of characters in font) and False for field 11.
           If   you   never   want   to    see    unselectable    entries,
           '*menu.options.showUnselectable:False' is a reasonable thing to
           specify in a resource file.

FILES

    $XFILESEARCHPATH/XFontSel

SEE ALSO

   xrdb(1), xfd(1)

BUGS

   Sufficiently ambiguous patterns can be misinterpreted and  lead  to  an
   initial  selection  string  which  may  not correspond to what the user
   intended and which may cause the initial sample text output to fail  to
   match the proffered string.  Selecting any new field value will correct
   the sample output, though possibly resulting in no matching font.

   Should be able to return a FONT for the PRIMARY selection, not  just  a
   STRING.

   Any  change in a field value will cause xfontsel to assert ownership of
   the PRIMARY_FONT selection.  Perhaps this should be parameterized.

   When running on a slow machine, it is possible for the user to  request
   a  field  menu  before  the font names have been completely parsed.  An
   error message indicating a  missing  menu  is  printed  to  stderr  but
   otherwise nothing bad (or good) happens.

   The average-width menu is too large to be useful.

COPYRIGHT

   Copyright 1989, 1991,  X Consortium

   See X(7) for a full statement of rights and permissions.

AUTHOR

   Ralph R. Swick, Digital Equipment Corporation/MIT Project Athena

   Mark  Leisher  <mleisher@crl.nmsu.edu>  added the support for the UTF-8
   sample text.


More Linux Commands

manpages/glRasterPos2dv.3gl.html
glRasterPos2dv(3gl) - specify the raster position for pixel
The GL maintains a 3D position in window coordinates. This position, called the raster position, is used to position pixel and bitmap write operations. It is ma

manpages/utempter_add_record.8.html
libutempter(8) privileged helper program for utmp wtmp updat
utempter is a privileged helper program that writes utmp/wtmp entries for unprivileged programs. OPTIONS The following options are supported: -a slave-device-na

manpages/glColor4sv.3gl.html
glColor4sv(3gl) - set the current color - Linux manual page
The GL stores both a current single-valued color index and a current four-valued RGBA color. glColor sets a new four-valued RGBA color. glColor has two major va

manpages/Tk_UnsetGrid.3.html
Tk_UnsetGrid(3) - control the grid for interactive resizing
Tk_SetGrid turns on gridded geometry management for tkwins toplevel window and specifies the geometry of the grid. Tk_SetGrid is typically invoked by a widget w

manpages/exp2f.3.html
exp2f(3) - base-2 exponential function - Linux manual page
The exp2() function returns the value of 2 raised to the power of x. RETURN VALUE On success, these functions return the base-2 exponential value of x. For vari

manpages/Unicode::Collate::CJK::Big5.3pm.html
Unicode::Collate::CJK::Big5(3pm) - weighting CJK Unified Ide
Unicode::Collate::CJK::Big5 provides weightBig5(), that is adequate for overrideCJK of Unicode::Collate and makes tailoring of CJK Unified Ideographs in the ord

manpages/pnmpsnr.1.html
pnmpsnr(1) - compute the difference between two images (the
This program is part of Netpbm(1) pnmpsnr reads two PBM, PGM, or PPM files, or PAM equivalents, as input and prints the magnitude of difference between the two

manpages/pmap_unset.3.html
pmap_unset(3) - library routines for remote procedure calls
These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the s

manpages/Net::DBus::Exporter.3pm.html
Net::DBus::Exporter.3pm (Manual - Linux man page)..........
The Net::DBus::Exporter module is used to export methods and signals defined in an object to the message bus. Since Perl is a loosely typed language it is not p

manpages/insque.3.html
insque(3) - insert/remove an item from a queue (Man Page)...
The insque() and remque() functions manipulate doubly-linked lists. Each element in the list is a structure of which the first two elements are a forward and a

manpages/XpQueryScreens.3x.html
XpQueryScreens(3x) - Queries an X Server to determine which
This request returns a non-NULL pointer to a list of screen pointers if one or more screens support the X Print Service Extension; otherwise it returns NULL. Xp

manpages/inl.2.html
inl(2) - port I/O (System calls - Linux man page)...........
This family of functions is used to do low-level port input and output. The out* functions do port output, the in* functions do port input; the b-suffix functio





We can't live, work or learn in freedom unless the software we use is free.