Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!samsung!uunet!edsews!lanni From: lanni@edsews.eds.com (mike lanni) Newsgroups: comp.windows.x Subject: Re: Xview Applications in X or OpenWindows? Message-ID: <33932@edsews.eds.com> Date: 22 May 91 13:52:50 GMT References: <3209@sparko.gwu.edu> Organization: EDS/TSD - Troy, MI Lines: 54 In article <3209@sparko.gwu.edu>, darken@seas.gwu.edu writes: > I've been trying to find out where I can run an Xview application. > What are its requirements? I have developed the application on a Sun4 > but would like to be able to run it elsewhere over the net. > I tried running it from twm on a Sun, no problem. Of course it > will run from OpenWindows too. But when I tried to run it from > an HP, I got font errors. The program was running on a Sun4 but > displaying on an HP. Does anyone know if I can do this? If so, what > sort of errors should I be aware of? Thanks for your help. > Your font problem occurs because either your font path is incorrectly set up and/or you are missing some fonts. I suspect the later because HP failed to supplied some standard MIT fonts including all "lucida", "olcursor", "olgl10", "olgl12", "olgl14", and "olgl19". The lucida fonts are normally found in 75dpi and/or 100dpi whereas olg* are normally located in misc. First check to see if these fonts are listed in "/usr/lib/X11/fonts/misc" and "/usr/lib/X11/fonts/*/75dpi[100dpi]". If they aren't there, you have to obtain the standard MIT bdf fonts. Check FAQ Subject 45 for MIT software and FAQ Subject 32 for some "scf" font info. If they are there, then it is probably your path. To check the font path currently being used by your HP server, type xset -q. Make sure that "misc" and either "75dpi" and/or "100dpi" are listed in the Font Path. Look at FAQ Subject 31. Our problem here is not with HP but rather with DEC. When running XView applications (based on X11R4) and displaying them on a Dec (running X11R3), I had to first add the above fonts but after that, the following error has occurred: XView warning: xv_rop: can't handle drawables of different depth XView warning: xv_rop: xv_rop_internal failed X Error: BadAtom Request Major code 17 () Request Minor code 0 ResourceID 0x7f0000 Error Serial #383 Current Serial #383 The application actually displays, but once an event occurs, it crashes with the above message. I posted this on the net but have not received any replies yet. Good Luck. ---------------------------------------------------------------------- Mike Lanni email: lanni@eds.com Electronic Data Systems voice: (313) 265-7019 750 Tower Drive P.O. Box 7019 Troy, MI 48098-7019