Browse Prior Art Database

Method to Handle SetFontPath Protocol for a Conference-Enabled X Windows Application

IP.com Disclosure Number: IPCOM000122771D
Original Publication Date: 1998-Jan-01
Included in the Prior Art Database: 2005-Apr-04
Document File: 4 page(s) / 156K

Publishing Venue

IBM

Related People

Ansberry, CM: AUTHOR [+3]

Abstract

X Windows provides distributed client/server support for two dimensional graphics support. An X application connects to the X server and communicates with it using X protocol, and asks the X server to create resources such as X windows on the server. In addition, the X server has resources that it has defined which may be used by any application that is connected to that server. X App | X Server | Display

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 32% of the total text.

Method to Handle SetFontPath Protocol for a Conference-Enabled X
Windows Application

      X Windows provides distributed client/server support for two
dimensional graphics support.  An X application connects to the X
server and communicates with it using X protocol, and asks the X
server to create resources such as X windows on the server.  In
addition, the X server has resources that it has defined which may be
used by any application that is connected to that server.
                               X App
                                 |
                              X Server
                                 |
                              Display

      One of these resources is X fonts.  Applications use X fonts
primarily to display text on workstation windows.  A font in X is a
set of bitmaps or outlines representing text, cursor shapes, or some
other application defined shapes.  Each font is defined in a font
file which is stored in a directory usually containing other related
fonts.  The font directories may be accessed directly by an X server
or by another process called a font server.  The font server performs
time-consuming font service work for the X server, such as parsing
font files for any supported format.

      The fonts that are available to an X Windows application are
those fonts that are available in its X server's font path.  The font
path of an X server is just an internal list of font directories
and/or font servers which dictate the order and where to look for
fonts.

      Obviously, an application cannot use a font if that font does
not reside somewhere in the X server's font path.  Also, an X
server's font path applies to all applications that connect to that X
server. If  a font is installed on a workstation, but the directory
in which it is  installed or the font server that is accessing it is
not listed in the  font path of a particular X server, then that font
cannot be used by any applications on that X server.

      Many X applications use their own special set of
fonts.  Usually these fonts are installed in their own font
directory.  Before the application may use these special fonts, the
font directory must be added to the font path of the X server to
which the application is connected.  The common procedure that X
applications take is they will first query the current font path of
the X server by using a GetFontPath request.  Using the current font
path as a base, the application will then add their own directory and
change the font path by using a SetFontPath request.  After the
request has been sent to the X server, the font path has been changed
to include the application's font directory and the application is
free to use the fonts that reside in that directory.

      When an X application is conference-enabl...