Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!europa.asd.contel.com!gatech!mcnc!wolves!biggers From: biggers@wolves.uucp (Mark Biggers) Newsgroups: comp.windows.x Subject: Re: Running Open Look apps using other than OLWM Message-ID: <1991Jun28.130017.16623@wolves.uucp> Date: 28 Jun 91 13:00:17 GMT References: <99199@lll-winken.LLNL.GOV> <1132@redford.UUCP> <99736@lll-winken.LLNL.GOV> <159@esacs.UUCP> Reply-To: biggers@wolves.UUCP (Mark Biggers) Organization: Wolves Den UNIX Lines: 84 X-Checksum-Snefru: ebe7bc52 dce8889c 537d76de ce842c69 In article <159@esacs.UUCP> ferrara@esacs.UUCP (Giancarlo Ferrara) writes: >> >Insights: >> >- Your server doesn't have the the Open Look glyph or cursor fonts. >> >- Your server doesn't have the other fonts used by XView programs. >> >- If you're running MIT X11R4 (patchlevel 18), your fonts aren't setup right. >> >[.....] >> This is the error message that I am used to seeing: >> >> OPEN LOOK Toolkit Error in application "Xtranslator": Could not find default OP >> EN LOOK button font: >> Resolution: d Point Size: 12 > >I have the SAME problem with ANY *OLIT* appls no matter how the server/wm >combination. > >- xnews with olwm or mwm >- Xsun (R4PL18) with olwm/mwm >- NCD19/NCD15 with olwm/mwm > >Note that there is *NO* problem with xview appls and all the user env appls; > >The only "strange" think i have done is to chose a "non standard" installation >not installing the whole kit. > >On X my fonts (glyphs and cursor) are present and accessible (xfd displays >all fine) > >Giancarlo >uunet!i2unix!esacs!ferrara My insight: I'm running X11R4, patchlevel 18 from MIT as my default setup on a Sun 4/110FCE, SunOS 4.1. I also have OpenWindows installed in /home/openwin, with my "path" var set up to pick up OW apps as desired. I have no problems running any of the XView clients (except Calendar Manager, and a font alias fix was posted here for that). BUT, OLIT fonts weren't shipped with MIT X, so you gotta do the following: 1. "convertfont" (RTM) the d12* fonts in /home/openwin/lib/fonts to bdf fonts, taking care of the brain damage in "convertfont" to truncate font names in the process.... 2. "bdftosnf" these fonts for each X server (on each machine ) you have running about your installation. My friends locally need to do this for a DG Aviion, Mac X and their Solbourne; I just did it for my Sun... 3. Move the .snf font files to /usr/lib/X11/fonts/misc (if you want), do a "mkfontdir ." in that directory, and then add to your fonts.alias file in that dir as follows: d12bluci d12bluci-14 d12butto d12butto-12 d12iluci d12iluci-14 d12NAlucid d12lucid-14 d12sbarh d12sbarh-12 d12sbarv d12sbarv-12 d12sldrh d12sldrh-12 d12sldrv d12sldrv-12 (I don't like the d12lucid-14 font supplied with the d12 OLIT fonts, so I used this alias in /usr/lib/X11/fonts/75dpi/fonts.alias: d12lucid -b&h-lucida-medium-r-normal-sans-12-120-75-75-p-71-iso8859-1 Hmm, now that I see this, I realize I should have done the same for the corresponding bold and italic styles. Left as an exercise for the reader...) 4. Issue a "xset fp rehash" to cause the X server to reread the font databases 5. Enjoy OLIT wherever you use an X server ;^) :^(.... If you get stuck, send me mail... --mark -- Mark Biggers Internet: biggers%wolves@cs.duke.edu Usenet: ...!mcnc!wolves!biggers (mcnc.org)