home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!destroyer!caen!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!sdd.hp.com!hpscdc!cupnews0.cup.hp.com!hppad.waterloo.hp.com!hppad!hpfcso!sprague
- From: sprague@hpfcso.FC.HP.COM (Fred Sprague)
- Newsgroups: comp.sys.hp
- Subject: Re: Free HP calculators w/workstations ?
- Message-ID: <7371193@hpfcso.FC.HP.COM>
- Date: 30 Jul 92 19:01:44 GMT
- References: <1992Jul28.133957.49399@ccvax.ucd.ie>
- Organization: Hewlett-Packard, Fort Collins, CO, USA
- Lines: 36
-
-
- > Hi, has anyone ever managed to resize xhpcalc using the font resources.
-
- I've not had any touble doing this, however the instructions in my copy
- of the man page for the calculator says to use the resource "PFont",
- but a quick "strings" on the executable shows up the names with a lower
- case 1st letter. ie. "pFont". This might be the basis of your problems.
-
- It seems that the calculator is a *pure* X11 (R1?) program that does not
- use any of the "Xt" enhancements like "fontList" or -xrm etc. And has only
- a subset of the settable things available on the command line. The font
- resource must be set from the .Xdefaults file (or the xrdb resource on
- the server) or the /usr/lib/X11/app-defaults/XHpcalc file.
-
- The .Xdefaults lines I use are:
- XHpcalc.pFont: 10x20
- XHpcalc.fFont: 6x13
- XHpcalc.gFont: 6x13
- XHpcalc.dispFont: 10x20
- And I find the results quite large.
- Porportional fonts (other than in the display) seem to work acceptably too.
-
- Where "pFont" is the legends on the keys
- Where "fFont" is the legends above the keys
- Where "gFont" is the legends below the keys
- Where "dispFont" is the font used in the display
-
- The shortcut is "KeyFont" which is the Class name for "pFont", "fFont"
- and "gFont", and can be overridden by their specific names.
-
- Fred Sprague
- Hewlett-Packard
- 3404 E. Harmony Rd.
- Fort Collins, Co 80525
- (303) 229-3940
- sprague@hpfcda.HP.COM
-