On Thursday 23 July 2009 04:57:58 Boaz Shaanan wrote:
> Hi all,
> This has been brought up before but I'm not sure whether any solution has been suggested and if so, what it was.
> hklview complains:
> ** xdl_view error in routine xdl_open_view **
> ** Unable to load *adobe-courier-medium-r*--8* font **
> Checking xds_view.c in ccp4-6.1.1/x-windows/xdl_view/src shows that the pixel sizes
> (yes, I found that out using xfontsel) required by xdl_view for this adobe fonts are:
> 8,12,14,18,24. I've got (under Enterprise 5 and Mandriva 2008.1) pixel sizes
> 11,14,17,20,25,34 (of course).
That's odd. I have Mandriva 2008.1 and here I see
8,10,12,14,18,24 (only) in xfontsel but in fact that is incorrect
as shown below.
> Can I modify xdl_view to fit the fonts I have on my systems ? Is it just simple editing and make?
If you do, I imagine it would be best to replace that "adobe" with a "*",
since the urw courier font is scalable and would support any font size:
But it's probably easier just to install the font.
 xlsfonts | grep 'courier-medium-r.*iso8859-1$'
So it looks like the adobe even-point-size versions came from the
75dpi font package, while the odd sizes came from the 100dpi package.
The urw one is scalable, so it should work for any size.
Ethan A Merritt
Biomolecular Structure Center
University of Washington, Seattle 98195-7742