Hi,
I'm having problems trying to install new fonts on my IBM RS/6000
running V3.2 of AIX. When I try to run a certain application, I get
the error:
font "*-Courier-Medium-R-Normal-*-120-*" doesn't exist
I did a "managefonts all" to install all fonts and it sees the Courier
family of fonts as being installed. managefonts generates various
.map and .out files in directories such as
/usr/lib/ps/ditroff.font/Courier/devpsc. I thought I might have to
do something like a mkfontdir at this stage, but mkfontdir expects
SNF or BDF files as its input. How do I generate these SNF or BDF
files from the files created by managefonts? What must I do to
add new fonts?
Thanks for any help,
Frank
--
----------------------------------------------------------------------
Frank O'Neill,
Digital Equipment Corporation, I speak for myself only
Galway, Ireland. and not my employer.
fr...@ilo.dec.com
----------------------------------------------------------------------
More specifically the original post seemed to be adding PostScript
fonts. I haven't taken the time to look it, but I have been wondering
whether you still run mkfontdir if you add Type 1 fonts to
/usr/lib/X11/fonts/Type1.
--
+------All Views Expressed Are My Own And Not Necessarily Shared By IBM-----+
+ Ronald S. Woan (IBM VNET)WOAN AT AUSTIN, wo...@exeter.austin.ibm.com +
+ outside of IBM wo...@austin.ibm.com or wo...@cactus.org or r.w...@ieee.org +
+ others wo...@soda.berkeley.edu Prodigy: XTCR74A Compuserve: 73530,2537 +
Yes. mkfontdir links with the server internal library libfont.a
which gives it the necessary smarts for all known supported font
types. The high-level "know what fonts I have" server (X and font
server) routines need a fonts.dir for every directory you have in
your font path.
--
------------ Opinions expressed are mine, not my employer's -----------
| David L. Crow | Internet: cr...@austin.ibm.com |
| AIX Graphics Systems Software | IBM VNET: CROW at AUSTIN |
| Austin, Republic of Texas | (512) 838-1134 T/L 678-1134 |
Are you trying to add fonts for use with the text formatters or
with the X server? I believe that the directory that you quoted
would be used for the text formatters. It definitely would not be
used for the X server.
The fonts for the X server are located in /usr/lib/X11/fonts and
the subdirectories there. If you add fonts to these directories,
you need to run "mkfontdir" on those directories. This should be
done when you install the X11rte* and X11fnt* packages (these are
the only X packages that contain fonts).
Once you have the actual font files in the directories and have
run mkfontdir, you then use the "xset" command to add font paths
to you X server. By default, all of the installed font paths
should be in your X server font path. Use "xset q" to verify.