home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / programs / fonts / a_q / fontmgr2 / !FontMGR2 / TechText / UsingIt < prev   
Text File  |  1994-11-29  |  2KB  |  68 lines

  1. Using the Font Manager from your own Applications
  2. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3.  
  4. --------------------------------------------------
  5.  
  6. Because I have made it so very easy for you to
  7. create your own Font Manager scripts, it should
  8. not be too much trouble to integrate it's
  9. functions into your own applications.  What goes
  10. hand-in-hand with this is the freedom I have
  11. given you to supply this application with your
  12. own software packages.  This means that you can
  13. be sure the user of your software has !FontMGR2.
  14.  
  15. --------------------------------------------------
  16.  
  17. The first means by which you can support
  18. !FontMGR2 is by giving any file formats you
  19. have made to me in writing with some suitable
  20. example files or the editor that made them.
  21. The information will then be used to ensure
  22. !FontMGR2's DocScan can recognise your file
  23. format and process the font use described within
  24. it.  I would strongly reccomend you do this!
  25.  
  26. Otherwise you may choose to support !FontMGR2
  27. yourself...
  28.  
  29. If <FontMGR2$Dir> doesn't exist, then the user
  30. hasn't got, or has decided not to use !FontMGR2.
  31. Oh well, there is little one can do for such
  32. people!
  33.  
  34. If <FontMGR2$Dir> does exist then you need to
  35. make a simple script describing which fonts you
  36. wish to FontHunt for such as the one shown below:
  37.  
  38. FMGR
  39.  
  40. *FONTS*
  41. {
  42.  Bodoni
  43.  Caslon
  44.  Becker
  45.  Revue
  46. }
  47.  
  48. *END*
  49.  
  50. Then investiagate the value of "F$Running".  If it
  51. is "FALSE" then common sense would tell you
  52. !FontMGR2 isn't currently running.  So you need to
  53. execute a command such as the one shown below,
  54. using the SWI "Wimp_StartTask":
  55.  
  56.  <FontMGR2$Dir>.Resources.BootFonts <Wimp$Scrap>
  57.  
  58. Otherwise you need to execute a command such as
  59. the one shown below via the SWI "OS_CLI":
  60.  
  61.  Filer_Run <Wimp$Scrap>
  62.  
  63. Please feel free to fax or write to me concerning
  64. "getting this to work".
  65.  
  66. --------------------------------------------------
  67.  
  68.