toml@ninja.Solbourne.COM (Tom LaStrange) (12/13/90)
Here's a small program that just creates a scrollbar using OLIT:
#include <X11/Intrinsic.h>
#include <Xol/OpenLook.h>
#include <Xol/Scrollbar.h>
main(argc, argv)
int argc;
char **argv;
{
int i;
Widget toplevel;
Widget widget;
toplevel = OlInitialize("scrollbar", "ScrollBar", NULL, NULL,
&argc, argv);
widget = XtCreateManagedWidget("scrollbar", scrollbarWidgetClass,
toplevel, NULL, 0);
XtRealizeWidget(toplevel);
XtMainLoop();
}
This works fine running under OpenWindows but I get the following error
when running under MIT X11R4:
OPEN LOOK Toolkit Error in application "scrollbar": Could not load Scrollbar font
So what's the name of this "Scrollbar font"? I can run XView applications
fine under X11R4 so I know I have some of the OL fonts installed. Does OLIT
use a different set of fonts than XView?
Thanks,
Tom LaStrange
Solbourne Computer Inc. ARPA: toml@Solbourne.COM
1900 Pike Rd. UUCP: ...!{boulder,sun}!stan!toml
Longmont, CO 80501
pinkas@st860.intel.com (Israel Pinkas) (12/13/90)
In article <TOML.90Dec12090049@ninja.Solbourne.COM> toml@ninja.Solbourne.COM (Tom LaStrange) writes: [Scrollbar program deleted.] > This works fine running under OpenWindows but I get the following error > when running under MIT X11R4: > > OPEN LOOK Toolkit Error in application "scrollbar": Could not load Scrollbar font > > So what's the name of this "Scrollbar font"? I can run XView applications > fine under X11R4 so I know I have some of the OL fonts installed. Does OLIT > use a different set of fonts than XView? On my machine, the Scrollbar fonts are in /usr/X/lib/fonts/Xol, the OpenLook font directory. This directory is not in the default font path for the server. AT&T server should recognize the XWINFONTPATH environment variable, which contains a comma separated list of font directories. The list replaces the default font path in the server at startup time, so make sure that the 75dpi and/or 100dpi directories are in the list. There are a few fonts that might be used for scrollbars. On my machine, the file names are [a-h]12sbarh.snf. Your mileage may vary. -Israel Pinkas Intel Corp. -- -------------------------------------- Disclaimer: The above are my personal opinions, and in no way represent the opinions of Intel Corporation. In no way should the above be taken to be a statement of Intel. UUCP: {amdcad,decwrl,hplabs,oliveb,pur-ee,qantel}!intelca!mipos3!st860!pinkas ARPA: pinkas%st860.intel.com@relay.cs.net CSNET: pinkas@st860.intel.com
grp@Unify.com (Greg Pasquariello) (12/15/90)
In article <TOML.90Dec12090049@ninja.Solbourne.COM>, toml@ninja.Solbourne.COM (Tom LaStrange) writes: > > This works fine running under OpenWindows but I get the following error > when running under MIT X11R4: > > OPEN LOOK Toolkit Error in application "scrollbar": Could not load Scrollbar font > > So what's the name of this "Scrollbar font"? I can run XView applications > fine under X11R4 so I know I have some of the OL fonts installed. Does OLIT > use a different set of fonts than XView? OLIT uses the fonts called [a-h]*lucid*, [a-h]*butto*, [a-h]*sbar*, and [a-h]*sld*, which are not part of the normal X distribution. XView, I believe, uses standard X fonts. > > Thanks, > Tom LaStrange > > Solbourne Computer Inc. ARPA: toml@Solbourne.COM > 1900 Pike Rd. UUCP: ...!{boulder,sun}!stan!toml > Longmont, CO 80501 -- --- Greg Pasquariello Unify Corporation grp@Unify.Com
aw@bae.bae.bellcore.com (Andrew Wason) (12/22/90)
In article <TOML.90Dec12090049@ninja.Solbourne.COM>, toml@ninja.Solbourne.COM (Tom LaStrange) writes: > So what's the name of this "Scrollbar font"? I can run XView applications > fine under X11R4 so I know I have some of the OL fonts installed. Does OLIT > use a different set of fonts than XView? I think the fonts you need are available on expo.lcs.mit.edu in contrib/OLIT2fonts.tar Andrew -------------------------------------------------------------------------------- Andrew Wason Bell Communications Research aw@cellar.bae.bellcore.com Piscataway, NJ bellcore!cellar!aw