Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!think.com!cass.ma02.bull.com!mips2!bull.bull.fr!corton!mcsun!sunic!ugle.unit.no!hanche From: hanche@imf.unit.no (Harald Hanche-Olsen) Newsgroups: comp.windows.x Subject: Re: converting Apollo Domain/OS fonts to X-windows Message-ID: Date: 5 Jun 91 11:40:01 GMT References: <201@intrbas.UUCP> Sender: news@ugle.unit.no Organization: The Norwegian Institute of Technology, Trondheim, Norway. Lines: 33 In-Reply-To: kenn@intrbasintrbas.UUCP's message of 3 Jun 91 15:46:43 GMT 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 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...)