Newsgroups: comp.windows.open-look Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!ispd-newsserver!garden.ssd.kodak.com!weimer From: weimer@garden.ssd.kodak.com (Gary Weimer (253-7796)) Subject: Re: CM problems Message-ID: <1991May14.172454.18826@ssd.kodak.com> Sender: news@ssd.kodak.com Reply-To: weimer@ssd.kodak.com Organization: Eastman Kodak Co.; Rochester, NY References: Date: Tue, 14 May 91 17:24:54 GMT In article you write: |> |> System: SunOS 4.1.1 on a SparcStation 2 with X11R4 |> |> Problem: Can't get CM to work properly. First it complains about |> a missing font, and then all kinds of error messages |> are generated when I view by the month. Here are the error |> codes generated: |> |> XView warning: Cannot load font '-b&h-lucida-medium-r-normal-sans-*-90-*-*-*-*-*-*' (Font package) |> XView warning: Cannot load font '-b&h-lucida-bold-r-normal-sans-*-90-*-*-*-*-*-*' (Font package) |> XView warning: invalid object (not a pointer), xv_get |> [..Lots of the Xview warnings...] |> |> So, I thought that perhaps the font path was a problem. I tried |> doing a 'xset fp+ /usr/openwin/lib/fonts' but I got the following |> error: |> |> -jc- [pitch: /usr/openwin/lib/fonts] % xset fp+ /usr/openwin/lib/fonts/ |> X Error: BadValue |> Request Major code 51 () |> Request Minor code 0 |> ResourceID 0x3 |> Error Serial #4 |> Current Serial #6 |> |> |> Could someone please explain to me what is going on? I work |> on another machine which is very similiar to this and I have |> no such problems. If you are trying to run cm from X, your /home/local/X11R4/Sun4/lib/fonts/fonts.dir file will need entries that match both '-b&h-lucida-medium-r-normal-sans-*-90-*-*-*-*-*-*' and '-b&h-lucida-bold-r-normal-sans-*-90-*-*-*-*-*-*'. Since our system was missing '-b&h-lucida-medium-r-normal-sans-*-90-*-*-*-*-*-*', I copied the line with '-b&h-lucida-medium-r-normal-sans-*-80-*-*-*-*-*-*' and changed the 80 to a 90 (close enough, I figured). For each line you add to this file, you must add 1 to the number in the first line of this file. You will also need to find a usable font for -b&h-lucida-medium and add this to your fonts.dir file. I chose a smaller font so that it would fit in any space allocated for the original size. Not very eligant, but it worked for me. weimer@ssd.kodak.com ( Gary Weimer )