yakker@ucrmath.UCR.EDU (matt robinson) (11/27/89)
I am trying to compile the libraries of XView our the Sun Sparcstation. I have everything working fine now (Thanks to all of the suggestions given to me ... Imake is a gift from God.), but I can't get the programs I compile in XView to properly read from the fonts directory. If anyone has compiled this before, we store our libraries in /usr/local/lib, and we hold all X11 fonts in /usr/local/lib/X11/fonts. All of the binaries are in /usr/local/bin/X11. There is a variable in the initial XView.config referring to the fonts directory, labelled /usr/local/lib/X11/fonts. The only pronblem is that there is another variable called FONTINSTDIR which also specifies the fonts directory. Which one do I use? Can someone take this information above and help me out here? I would appreciate the help. Thanks again! yakker@ucrmath.ucr.edu | Matt Robinson, University of California at Riverside -----------------------*------------------------------------------------------ ..!ucsd!ucrmath!yakker | Department of Mathematics and Computer Science
cook@iris.ucdavis.edu (Doug Cook) (11/29/89)
In article <2740@ucrmath.UCR.EDU> yakker@ucrmath.UUCP (Matt Robinson) writes: > I am trying to compile the libraries of XView our the Sun Sparcstation. > I have everything working fine now (Thanks to all of the suggestions > given to me ... Imake is a gift from God.), but I can't get the programs > I compile in XView to properly read from the fonts directory. If anyone > has compiled this before, we store our libraries in /usr/local/lib, and > we hold all X11 fonts in /usr/local/lib/X11/fonts. All of the binaries > are in /usr/local/bin/X11. There is a variable in the initial XView.config > referring to the fonts directory, labelled /usr/local/lib/X11/fonts. The > only pronblem is that there is another variable called FONTINSTDIR which > also specifies the fonts directory. Which one do I use? There are two distinct problems here. The first is getting the fonts installed on your system; this is what the FONTINSTDIR macro is for. It tells Imake where to put the fonts when it installs them. So if you had problems installing the fonts, this is where you'll want to take a look. The second problem is getting the XView clients to work with the installed fonts. Recall that with the X Window System, it is the server's job, not the client's, to locate the fonts. Hence, once you've installed the fonts, you need to make sure that your server can get to them. Whatever directory you've installed the XView fonts in must be in your server's fontpath, or it won't be able to find them. Use the "xset" program to examine and change your server's fontpath. You may also have to rehash the fontpath when done ("xset fp rehash"). If you encounter more difficulties, please get in touch. -Doug Doug Cook dmc@sun.com Window Systems Group cook@gandalf.ucdavis.edu Sun Microsystems, Inc.
tomj@SUN.COM (Tom Jacobs) (12/07/89)
yakker@ucrmath.UCR.EDU writes: > I am trying to compile the libraries of XView our the Sun Sparcstation. > I have everything working fine now (Thanks to all of the suggestions > given to me ... Imake is a gift from God.), but I can't get the programs > I compile in XView to properly read from the fonts directory. If anyone > has compiled this before, we store our libraries in /usr/local/lib, and > we hold all X11 fonts in /usr/local/lib/X11/fonts. All of the binaries > are in /usr/local/bin/X11. There is a variable in the initial XView.config > referring to the fonts directory, labelled /usr/local/lib/X11/fonts. The > only pronblem is that there is another variable called FONTINSTDIR which > also specifies the fonts directory. Which one do I use? Can someone > take this information above and help me out here? I would appreciate > the help. I don't understand your comment "I can't get the programs I compile in XView to properly read from the fonts directory". Do you mean when you attempt to start-up your XView program it complains ("XView warning:...") that it cannot find your fonts? If this is the case, then you'll need to make sure that the fonts are really in your directory /usr/local/lib/X11/fontsFonts and that this directory is in your font path. Hope this helps. Let me know if this isn't the problem. Tom Jacobs (tomj@sun.com -OR- ..!sun!tomj) Sun Microsystems, Inc.