[comp.windows.x] converting Apollo Domain/OS fonts to X-windows

kenn@intrbasintrbas.UUCP (Kenneth G. Goutal) (06/03/91)

I have a couple of fonts I created using the Domain/OS font editor
for use on in standard (non-X-windows) Domain/OS windows.
Does anyone have a utility to convert these to X-windows format?

Thanks.
-- Kenn Goutal
   Technical Support

Interbase Software Corporation
209 Burlington Road			...!linus!intrbas!kenn
Bedford  MA  01730  USA			...!mcsun!uunet!intrbas!kenn
617.275.3222				kenn@interbase.COM

                All standard network disclaimers apply.

hanche@imf.unit.no (Harald Hanche-Olsen) (06/05/91)

In article <201@intrbas.UUCP> kenn@intrbasintrbas.UUCP (Kenneth G. Goutal) writes:

   I have a couple of fonts I created using the Domain/OS font editor
   for use on in standard (non-X-windows) Domain/OS windows.
   Does anyone have a utility to convert these to X-windows format?

You do.  (If you have an Apollo, and if not, why do you ask?).  Here
is how (roughly): 

% edfont fontfile
    Note that "fontfile" will be the name of the X font you are
creating.  So rename the fontfile first if you wish, cd to the
directory where it resides, and avoid referring to it by its full
pathname when you invoke edfont.  Make sure the font contains a glyph
for blank (0x20).  Some Apollo supplied fonts, like din_f7x11, don't.
Set the interchar spacing of all glyphs to 0, and increase the width
of all glyphs correspondingly, if you must.  This can all be done with
simple menu choices.  Select Save as ... and Adobe BDF format.

% bdftosnf fontfile > fontfile.snf
% mv fontfile.snf /usr/X11/lib/fonts/misc
% cd /usr/X11/lib/fonts/misc
% mkfontdir
    You will probably have to be root for the latter steps.  I may
have left out some important detail, but I believe not.  Best of luck!
--
- Harald Hanche-Olsen <hanche@imf.unit.no>
  Division of Mathematical Sciences
  The Norwegian Institute of Technology
  N-7034 Trondheim, NORWAY

(I tried replying by mail, but Kenneth's address is unreplyable from
here.  So I have to post...)