home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / programs / fonts / a_q / fontset / !Help
Text File  |  1998-01-07  |  3KB  |  60 lines

  1. Name     : !FontSet
  2. Purpose  : Change desktop font quickly
  3.            (especially when creating windows)
  4. Author   : Richard Goodwin
  5. Status   : Public Domain
  6. Version  : 1.00 (OCtober 1997)
  7. Requires : It's Risc PC only folks
  8.  
  9. This program is public domain, and may be copied, ripped off etc.
  10. as you see fit.
  11.  
  12. How to use it
  13. ~~~~~~~~~~~~~
  14. On loading the program you will see a window in the centre of the screen with
  15. five radio icons; the topmost of these has "*Unset Wimp$Font" next to it, and
  16. the others have names of fonts next to them.  "*Unset Wimp$Font" will attempt
  17. to set the font to the system font (the blocky one, without any smoothing
  18. round the edges), and so will be referred to as the system font from now on.
  19.  
  20. If you are currently using one of these fonts as your desktop font then one
  21. of the radio icons will already be set; this will happen at any time, if the
  22. desktop font is changed at any point the program will detect this and alter
  23. its display accordingly; so, you can run three copies of !FontSet and when
  24. you use one to change the font, all of them will automatically change their
  25. display at the same time!  Spooky!
  26.  
  27. Using !FontSet once loaded is very simple - click on one of the radio icons,
  28. and the desktop font will change!  It will also broadcast a font change
  29. message, so bits of the desktop will redraw as necessary.
  30.   HOWEVER, the system font may not work correctly without a little fiddling;
  31. there are two ways of defining what font is used in the desktop, one is a
  32. system variable (Wimp$Font) and the other is a configuration option
  33. ("*configure wimpfont x" where x is a number between 0 to 12 for system font
  34. or one of the twelve main ROM fonts).
  35.   If the system font option is not working correctly, you should do the
  36. following:
  37. press F12 to get to the CLI prompt and type:
  38. *configure wimpfont 0
  39. (press RETURN or ENTER twice to get back to the desktop).
  40.   This will make sure the configuration option isn't used; you'll still get
  41. your desktop font as per normal when booting up because the Wimp$Font
  42. variable overrides this old configuration options, and gives you the option
  43. of using fonts outside the standard ROM fonts.
  44.  
  45. What bloody use is that Rich?
  46. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  47. When writing desktop programs you have to be very careful that the text on
  48. any windows you're designing is visible for people using a desktop font other
  49. than the one you're using.  For instance, I use Homteron Medium, which is
  50. generally much thinner than the standard system font some non-Risc PC users
  51. will be restricted to; Homerton Bold Oblique is somewhere in between.
  52. Instead of having to go to the CLI or load !Configure and switch fonts all
  53. the time, I wrote !FontSet to quickly switch between fonts and see much more
  54. quickly which bits of the window needs to be changed.
  55.  
  56. Cheers,
  57. Richard Goodwin.
  58. richard@goodwin.uk.com
  59. http://www.goodwin.uk.com/richard/
  60.