home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / hp / 8748 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  1.8 KB

  1. 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
  2. From: sprague@hpfcso.FC.HP.COM (Fred Sprague)
  3. Newsgroups: comp.sys.hp
  4. Subject: Re: Free HP calculators w/workstations ?
  5. Message-ID: <7371193@hpfcso.FC.HP.COM>
  6. Date: 30 Jul 92 19:01:44 GMT
  7. References: <1992Jul28.133957.49399@ccvax.ucd.ie>
  8. Organization: Hewlett-Packard, Fort Collins, CO, USA
  9. Lines: 36
  10.  
  11.  
  12.  > Hi, has anyone ever managed to resize xhpcalc using the font resources.
  13.  
  14. I've not had any touble doing this, however the instructions in my copy 
  15. of the man page for the calculator says to use the resource "PFont", 
  16. but a quick "strings" on the executable shows up the names with a lower 
  17. case 1st letter.  ie. "pFont".  This might be the basis of your problems.
  18.  
  19. It seems that the calculator is a *pure* X11 (R1?) program that does not 
  20. use any of the "Xt" enhancements like "fontList" or -xrm etc. And has only
  21. a subset of the settable things available on the command line.  The font 
  22. resource must be set from the .Xdefaults file (or the xrdb resource on 
  23. the server) or the /usr/lib/X11/app-defaults/XHpcalc file.
  24.  
  25. The .Xdefaults lines I use are:
  26.   XHpcalc.pFont:          10x20
  27.   XHpcalc.fFont:          6x13
  28.   XHpcalc.gFont:          6x13
  29.   XHpcalc.dispFont:       10x20
  30. And I find the results quite large.
  31. Porportional fonts (other than in the display) seem to work acceptably too.
  32.  
  33. Where "pFont" is the legends on the keys
  34. Where "fFont" is the legends above the keys
  35. Where "gFont" is the legends below the keys
  36. Where "dispFont" is the font used in the display
  37.  
  38. The shortcut is "KeyFont" which is the Class name for "pFont", "fFont" 
  39. and "gFont", and can be overridden by their specific names.
  40.  
  41. Fred Sprague
  42. Hewlett-Packard
  43. 3404 E. Harmony Rd.
  44. Fort Collins, Co 80525
  45. (303) 229-3940
  46. sprague@hpfcda.HP.COM
  47.