Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to add new fonts on AIX?

971 views
Skip to first unread message

Frank O'Neill

unread,
Dec 14, 1993, 10:58:24 AM12/14/93
to

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
----------------------------------------------------------------------

Ronald S. Woan

unread,
Dec 14, 1993, 11:58:27 PM12/14/93
to
In article <crow.75...@waterloo.austin.ibm.com>,

David L. Crow <cr...@austin.ibm.com> wrote:
>> /usr/lib/ps/ditroff.font/Courier/devpsc. I thought I might have to
> 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.

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 +

David L. Crow

unread,
Dec 15, 1993, 8:35:37 AM12/15/93
to
wo...@exeter.austin.ibm.com (Ronald S. Woan) writes:
>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.

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 |

David L. Crow

unread,
Dec 14, 1993, 1:37:10 PM12/14/93
to
fr...@olympus.ilo.dec.com (Frank O'Neill) writes:
> 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

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.

0 new messages