home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / OS2 / FONTFOLD.ZIP / FONTFOLD.HLP (.txt) < prev    next >
OS/2 Help File  |  1994-03-10  |  35KB  |  904 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. FontFolder Overview ΓòÉΓòÉΓòÉ
  3.  
  4. FontFolder provides an easy, efficient way to manage Adobe Type 1 fonts (also 
  5. known as ATM fonts) in OS/2.  Once a font is registered with the FontFolder 
  6. Master Library, the font can be loaded and unloaded in OS/2 from the FontFolder 
  7. main window with simple point and click operations.  With FontFolder you only 
  8. need to keep loaded those fonts that you are currently using.  This saves time 
  9. and resources since OS/2 only needs to load a small number of fonts on bootup 
  10. and keep a small number of fonts in memory at any one time.  Applications that 
  11. load all the installed fonts when starting will also start faster. 
  12.  
  13. See the following for additional information. 
  14.  
  15. Topics: 
  16.  
  17. o Overview of ATM Fonts 
  18. o Overview of OS/2 Fonts 
  19. o Installing FontFolder 
  20. o Using FontFolder 
  21. o Removing FontFolder 
  22. o Creating and Maintaining the Master Library 
  23. o Installing Fonts in OS/2 
  24. o Removing fonts from OS/2 
  25. o FontFolder Menus 
  26. o Error Recovery 
  27.  
  28.  
  29. ΓòÉΓòÉΓòÉ 2. Overview of ATM Fonts ΓòÉΓòÉΓòÉ
  30.  
  31. ATM font is the popular name for an Adobe Type 1 font, originated by Adobe 
  32. Systems Incorporated. These fonts are scalable, meaning the system can 
  33. accurately generate font characters in a wide range of sizes from one font 
  34. description.  This is in contrast to bit-mapped fonts, where there must be a 
  35. complete, separate font description for each size.  ATM fonts can be used for 
  36. both display and printing and are supported on numerous operating systems in 
  37. addition to OS/2. As a result thousands of fonts are available from a wide 
  38. variety of sources.  There are also programs available that allow you to 
  39. generate your own ATM font design. 
  40.  
  41. An ATM font comes from the supplier as a collection of files.  There is always 
  42. a file with a name of the form filename.PFB which contains the detailed 
  43. information needed to construct the font characters.  There will be one or more 
  44. additional files for each font as well.  Fonts shipped by Adobe contain a 
  45. filename.AFM file and a filename.INF file in addtion to the filename.PFB file. 
  46. For use in OS/2, the PFB file and the AFM file are required.  Microsoft Windows 
  47. (and hence WinOS2) requires the PFB file and a file called filename.PFM.  The 
  48. ATM Control Panel used to install ATM fonts in Windows can use the AFM file and 
  49. the INF file to construct a PFM file. 
  50.  
  51. Some font vendors aiming solely at the Windows market have unfortunately taken 
  52. to shipping ATM fonts with only the PFB and PFM files.  Such fonts are not 
  53. immediately usable in OS/2.  The first recourse is to contact the vendor to 
  54. attempt to obtain the corresponding AFM file.  Vendors such as Adobe are 
  55. usually quite willing to supply these for free, in fact Adobe has provided a 
  56. large number of AFM files for their type library in the ADOBE and DTPFORUM 
  57. forum libraries on Compuserve.  There are also font editing programs that will 
  58. produce an AFM file from the PFB and PFM file and some utilities that attempt 
  59. to convert a PFM file to an AFM file. 
  60.  
  61.  
  62. ΓòÉΓòÉΓòÉ 3. Overview of OS/2 Fonts ΓòÉΓòÉΓòÉ
  63.  
  64. OS/2 uses both bit-mapped fonts and ATM fonts for displaying characters. 
  65. FontFolder does not deal with the OS/2 bit-mapped fonts.  OS/2 ships with a 
  66. basic set of ATM fonts whose files can be found in the \PSFONTS directory on 
  67. the OS/2 boot drive. 
  68.  
  69. An ATM font for OS/2 must have both a filename.AFM and a filename.PFB file. In 
  70. order for OS/2 to recognize these files they most both reside in the same 
  71. directory.  However, different fonts can reside in different directories.  OS/2 
  72. keeps a record in the OS2.INI file of the path to each installed font. 
  73.  
  74.      Note:  Once consequence of this is that the user must not move the files 
  75.      for an installed font to a different location without first uninstalling 
  76.      the font from OS/2.  Once the files are moved, the font can be reinstalled 
  77.      in OS/2. 
  78.  
  79.  OS/2 requires that the font files for an installed font reside on a hard 
  80.  drive.  One reason for this is that OS/2 reads these files on bootup to 
  81.  generate the required information on installed fonts.  As a result, when a 
  82.  font is installed in OS/2 from a removable drive such as a floppy drive or 
  83.  CDROM drive the font files must be copied to a directory on a hard drive.  The 
  84.  OS/2 Font Pallete defaults to \PSFONTS as the location for these files, but 
  85.  the user can change this to any directory.  FontFolder also copies these files 
  86.  to a user-designated hard drive location when registering a font with the 
  87.  Master Library from a removable drive. After this, FontFolder never moves the 
  88.  files again when installing and uninstalling the font in OS/2. 
  89.  
  90.  When an ATM font is installed in OS/2, a compressed equivalent of the AFM file 
  91.  named filename.OFM is generated and placed in the same directory as the PFB 
  92.  file.  The OS/2 Font Pallete does not use the AFM file except for 
  93.  installation, and does not copy the AFM file to the target directory. 
  94.  FontFolder copies both the AFM file and the PFB file to the target directory 
  95.  when registering the font with the Master Library from a removable drive.  The 
  96.  first time the font is installed in OS/2 FontFolder puts the OFM file created 
  97.  in the existing directory with the AFM and PFB file for the font.  FontFolder 
  98.  does not at this time offer the option of automatically erasing the AFM file 
  99.  at this point, however the user is free to erase the AFM file once the OFM 
  100.  file has been created (FontFolder shows the OFM file has been created by 
  101.  changing the font filename entry in the Master Library from AFM to OFM). 
  102.  
  103.  
  104. ΓòÉΓòÉΓòÉ 3.1. Windows Fonts in OS/2 ΓòÉΓòÉΓòÉ
  105.  
  106. OS/2 uses and manage ATM fonts in WinOS2 in the same way as Windows.  This 
  107. means that OS/2 requires either a filename.PFM file or a filename.INF file in 
  108. addition to the filename.PFB file to install the font in WinOS2.  When the font 
  109. is installed in WinOS2 via the ATM Control Panel (FontFolder does not manage 
  110. ATM fonts for Windows), ATM will move the PFM file to a subdirectory named PFM 
  111. under the directory containing the PFB file, creating the subdirectory if 
  112. necessary.  OS/2 and WinOS2 can share the same PFB file using a directory 
  113. structure as shown below 
  114.  
  115.      Γöé    ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  116.      Γö£ΓöÇΓöÇΓö¼ΓöÇΓöñMYFONTDIRΓöé
  117.      Γöé  Γöé ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  118.         Γöé
  119.         Γö£ΓöÇ filename.afm (ofm)
  120.         Γöé
  121.         Γöé
  122.         Γö£ΓöÇ filename.pfb
  123.         Γöé
  124.         Γöé   ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  125.         ΓööΓöÇΓö¼ΓöÇΓöñ   PFM   Γöé
  126.           Γöé ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  127.           Γöé
  128.           ΓööΓöÇ filename.pfm
  129.  
  130. When FontFolder registers a font with the Master Library from a removable 
  131. drive, it will also copy either the WinOS2 filename.PFM file to a PFM 
  132. subdirectory, creating the directory if necessary, or if it finds a 
  133. filename.INF file but no PFM file, the filename.INF file to the directory 
  134. containing the AFM and PFB files, provided the user has checked the Copy 
  135. Windows Font Files box. 
  136.  
  137.  
  138. ΓòÉΓòÉΓòÉ 4. Installing FontFolder ΓòÉΓòÉΓòÉ
  139.  
  140. This section provides a description of what files and system file entries are 
  141. created when FontFolder is installed and first opened, and the system resources 
  142. used by FontFolder. 
  143.  
  144. To continue in this section choose one of the following: 
  145.  
  146.  o FontFolder Files 
  147.  o FontFolder Memory Requirements 
  148.  o Other FontFolder Resource Requirements 
  149.  
  150.  
  151. ΓòÉΓòÉΓòÉ 4.1. FontFolder Files ΓòÉΓòÉΓòÉ
  152.  
  153. The only files required to use FontFolder are FONTFOLD.EXE and FONTFOLD.HLP. 
  154. FONTFOLD.EXE can be installed anywhere on the system. FONTFOLD.HLP can be 
  155. installed either in the same directory as FONTFOLD.EXE or in any directory 
  156. specified in the set HELP= line in the OS/2 CONFIG.SYS file.  It is recommended 
  157. that FONTFOLD.HLP be kept in the same directory as FONTFOLD.EXE. 
  158.  
  159. The first time FontFolder starts it asks the user to provide paths to use to 
  160. store two files that FontFolder generates during operation.  The default in 
  161. both cases is to store them in the same directory as FONTFOLD.EXE. 
  162.  
  163. The first of these files, FONTFOLD.INI, keeps key information about the user 
  164. preferences for FontFolder such as size and screen position of the main window, 
  165. etc., and is created the first time FontFolder is closed.  One case where one 
  166. might place this file in a separate directory is if FontFolder is being shared 
  167. on a network.  If the user chooses to place FONTFOLD.INI in a location other 
  168. than the default, then FontFolder writes this location to OS2.INI. If 
  169. FONTFOLD.INI is left in the default directory then no entry is made in OS2.INI. 
  170.  
  171. The second file that FontFolder creates as part of its operation is called 
  172. MASTLIB.FF1, and contains information identifying all the fonts registered with 
  173. the FontFolder Master Library. FontFolder creates this file the first time it 
  174. is closed or when the user chooses Save Master Library from the Master Library 
  175. menu. The location of this file is kept in FONTFOLD.INI.  FontFolder will also 
  176. maintain one generation of backup of MASTLIB.FF1 called MASTLIB.BAK in the same 
  177. directory as MASTLIB.FF1.  The combined size of these files should be no more 
  178. than about 200KB in the worst case. 
  179.  
  180.  
  181. ΓòÉΓòÉΓòÉ 4.2. FontFolder Memory Requirements ΓòÉΓòÉΓòÉ
  182.  
  183. When in use FontFolder keeps the Master Library and OS/2 Installed Fonts 
  184. information in linked lists that require about 560 bytes of memory per font 
  185. entry.  Sufficient memory is allocated to allow storing over 1200 fonts in the 
  186. Master Library, while the number of fonts actually installed in OS/2 should 
  187. normally be less than 100 (for performance reasons). Thus maximum use would 
  188. require somewhat less than one megabyte of memory beyond what the program 
  189. normally takes. This limit is unlikely to be reached in practice because of the 
  190. OS/2 limit on listbox contents. Since FontFolder uses OS/2's sparse memory 
  191. allocation methodology, only enough memory is committed to hold the actual font 
  192. information. 
  193.  
  194.  
  195. ΓòÉΓòÉΓòÉ 4.3. Other FontFolder Resource Requirements ΓòÉΓòÉΓòÉ
  196.  
  197. FontFolder uses the standard OS/2 listboxes to display the Master Library and 
  198. Installed Fonts lists.  In OS/2 2.1 the total contents of all listboxes in the 
  199. system is limited to 64 KB. In the worst case of displaying the fully qualified 
  200. path name view of these lists each entry can be up to 260 bytes, so the total 
  201. number of fonts that could be displayed in this worst case condition would be 
  202. around 250 fonts if no other open applications are using listboxes. However, 
  203. this only applies if the user has specified very long directory paths for the 
  204. font files.  In a more typical case of perhaps 50 characters per path name, 
  205. FontFolder would be able to display over 1300 fonts. If you have a large number 
  206. of fonts and run in to this limit, see the Listbox error help for directions on 
  207. how to recover. 
  208.  
  209.  
  210. ΓòÉΓòÉΓòÉ 5. Using FontFolder ΓòÉΓòÉΓòÉ
  211.  
  212. FontFolder works on the principle of keeping two separate lists of ATM fonts 
  213. which are displayed at all times in the main FontFolder window. 
  214.  
  215.   1. The OS/2 Installed Fonts list 
  216.  
  217.      The Installed Fonts list is simply the list of fonts that are actually 
  218.      installed in OS/2 and available for use.  It is the same list one sees 
  219.      from the OS/2 Font Pallete or from the Font Dialog of an OS/2 application. 
  220.  
  221.   2. The Master Library list 
  222.  
  223.      The Master Library list of fonts is a larger list of all fonts that 
  224.      FontFolder knows about, whether they are currently installed in OS/2 or 
  225.      not.  In normal operation this list will be larger than the number of 
  226.      Installed Fonts, in some cases substantially so. The user creates this 
  227.      list by registering fonts with the Master Library using FontFolder's 
  228.      editing capability available from the Master Library pulldown on the menu 
  229.      bar. The only limit to registering fonts with the Master Library other 
  230.      than resource limits (see Installing FontFolder ) is that in Version 1.0 
  231.      this list may only contain font files that reside on a nonremovable hard 
  232.      drive. 
  233.  
  234.          Note:  The user may still register fonts residing on removable media 
  235.          with the Master Library. FontFolder will copy the necessary files to a 
  236.          user-designated directory on a hard drive as part of the registration 
  237.          process. 
  238.  
  239.  For further information on using FontFolder see the following: 
  240.  
  241.  o Starting FontFolder for the first time 
  242.  o Everyday FontFolder use 
  243.  
  244.  
  245. ΓòÉΓòÉΓòÉ 5.1. Starting FontFolder for the first time ΓòÉΓòÉΓòÉ
  246.  
  247. Once FontFolder has been installed by copying FONTFOLD.EXE and FONTFOLD.HLP to 
  248. the system, FontFolder is ready for use.  The first time FontFolder is started 
  249. it will display the FontFolder Setup Dialog which asks for three pieces of 
  250. information: 
  251.  
  252.  o The Drive letters of all the removable drives on the system 
  253.  
  254.  o The location to store the initialization file FONTFOLD.INI 
  255.  
  256.  o The location to store the Master Library data file MASTLIB.FF1 
  257.  
  258.  See the FontFolder Setup Dialog Help for details on the meaning and values for 
  259.  these settings. 
  260.  
  261.  The first thing FontFolder does on startup is to read in the list of fonts 
  262.  already installed in OS/2 from OS2.INI.  It is possible for this list to 
  263.  include corrupted font files.  If FontFolder encounters a file that it can not 
  264.  successfully read to obtain the required font information, it displays a 
  265.  dialog box giving the details of the suspect font and offering the user the 
  266.  option to remove it from OS2.INI.  The user should normally take this option 
  267.  since FontFolder can not deal with this file (and OS/2 can not use it) and 
  268.  will redisplay this error message on every startup until the font is removed. 
  269.  In any case FontFolder will not list the font in the Installed Fonts list. 
  270.  See the Load Installed Fonts List Dialog Help for details. 
  271.  
  272.  On the first startup FontFolder generates an initial Master Library by copying 
  273.  the list of fonts already installed in OS/2 to the Master Library list.  From 
  274.  this point on the user is free to add or delete entries in the Master Library 
  275.  independent of what fonts are actually installed in OS/2. 
  276.  
  277.  
  278. ΓòÉΓòÉΓòÉ 5.2. Everyday FontFolder use ΓòÉΓòÉΓòÉ
  279.  
  280.  Once a font is registered with the Master Library the user can install the 
  281. font in OS/2 by selecting the font from the Master Library list and clicking on 
  282. the Install button. Multiple selections are permitted.  To remove (uninstall) a 
  283. font from OS/2 the user selects the font in the Installed Fonts list and clicks 
  284. on the Remove button.  Installing and removing fonts in this manner has no 
  285. effect on the Master Library list.  Separate editing facilities are provided 
  286. for maintaining the Master Library. 
  287.  
  288. When a font is registered with the Master Library, FontFolder creates an entry 
  289. which contains both the name of the font (e.g. Courier Bold) and the fully 
  290. qualified path to the font files.  If the source for the files is a removable 
  291. medium such as a diskette or a CDROM, FontFolder copies the files to a 
  292. user-designated directory on a hard drive at the time of registration.  It is 
  293. this hard drive location that is stored in the Master Library.  When a font is 
  294. installed in OS/2 from the Master Library, no files are moved. FontFolder 
  295. simply provides OS/2 with the information on where to find the font files. 
  296. Similarly, when a font is removed from OS/2, no files are moved.  Only the 
  297. entries in OS/2 referring to these files are deleted. This means that the user 
  298. has complete freedom in organizing font files in whatever directory 
  299. organizations make sense. 
  300.  
  301. The user has the option of Saving the Master Library at any point.  If the 
  302. Master Library has been changed but not saved when FontFolder is closed, the 
  303. user is prompted as to whether the Master Library changes should be saved or 
  304. discarded.  FontFolder keeps one level of backup of the Master Library file, 
  305. and there is provision for the user to Revert to the backup copy of the Master 
  306. Library. 
  307.  
  308. The Installed Fonts information is always saved as soon as a font is installed 
  309. or removed from OS/2. 
  310.  
  311. For details on using FontFolder see 
  312.  
  313.  o Registering Fonts with the Master Library 
  314.  o Deleting Fonts from the Master Library 
  315.  o Saving the Master Library 
  316.  o Reverting the Master Library 
  317.  o Installing Fonts in OS/2 
  318.  o Removing Fonts from OS/2 
  319.  o Views of Fonts 
  320.  o FontFolder Settings 
  321.  
  322.  
  323. ΓòÉΓòÉΓòÉ 6. Removing FontFolder ΓòÉΓòÉΓòÉ
  324.  
  325. FontFolder can be removed from the system by finding and deleting the following 
  326. files 
  327.  
  328.  o FONTFOLD.EXE 
  329.  o FONTFOLD.HLP 
  330.  o FONTFOLD.INI 
  331.  o MASTLIB.FF1 
  332.  o MASTLIB.BAK 
  333.  
  334.  If the user has never changed the default settings, all of these files should 
  335.  be in the same directory.  If the user specified other paths for the 
  336.  FONTFOLD.INI file or for the MASTLIB.* files, these paths must be searched as 
  337.  well.  If the FontFolder Settings for these paths were changed multiple times 
  338.  while FontFolder was installed, there could be copies of these files in each 
  339.  of these paths. 
  340.  
  341.  If a path other than the default was specified for FONTFOLD.INI, this 
  342.  information was recorded in OS2.INI under the application name FontFolder. 
  343.  This entry can be removed from OS2.INI by resetting the FONTFOLD.INI path to 
  344.  the same directory as FONTFOLD.EXE using Settings. 
  345.  
  346.  There are no other changes that FontFolder makes to the system. 
  347.  
  348.  
  349. ΓòÉΓòÉΓòÉ 7. Creating and Maintaining the Master Library ΓòÉΓòÉΓòÉ
  350.  
  351. FontFolder is built around the concept of a Master Library in which the user 
  352. registers all the fonts that are available for installation in OS/2.  Once a 
  353. font is registered with the Master Library, the user can install it in OS/2 
  354. with simple point and click operations from the FontFolder main window. 
  355.  
  356. When a font is registered with the Master Library, FontFolder creates an entry 
  357. which contains both the name of the font (e.g. Courier Bold) and the fully 
  358. qualified path to the font files.  If the source for the files is a removable 
  359. medium such as a diskette or a CDROM, FontFolder copies the files to a 
  360. user-designated directory on a hard drive at the time of registration.  It is 
  361. this hard drive location that is stored in the Master Library.  When a font is 
  362. installed in OS/2 from the Master Library, no files are moved. FontFolder 
  363. simply provides OS/2 with the information on where to find the font files. 
  364. Similarly, when a font is removed from OS/2, no files are moved.  Only the 
  365. entries in OS/2 referring to these files are deleted.  This means that the user 
  366. has complete freedom in organizing font files in whatever directory 
  367. organizations make sense. 
  368.  
  369. Deleting a font from OS/2 has no effect on the Master Library entry. 
  370.  
  371. For additonal details see the following: 
  372.  
  373.  o Creating the Master Library 
  374.  o Maintaining the Master Library 
  375.  
  376.  
  377. ΓòÉΓòÉΓòÉ 7.1. Creating the Master Library ΓòÉΓòÉΓòÉ
  378.  
  379. On the first startup FontFolder generates an initial Master Library by copying 
  380. the list of fonts already installed in OS/2 to the Master Library list.  From 
  381. this point on the user is free to add or delete entries in the Master Library 
  382. independent of what fonts are actually installed in OS/2. 
  383.  
  384.  
  385. ΓòÉΓòÉΓòÉ 7.2. Maintaining the Master Library ΓòÉΓòÉΓòÉ
  386.  
  387. Maintenance of the Master Library is done by selecting Master Library from the 
  388. main window menu bar.  From this pulldown the user can choose to 
  389.  
  390.  o Register fonts 
  391.  
  392.  o Delete fonts 
  393.  
  394.  o Save the Master Library to disk 
  395.  
  396.  o Revert to a previous version of the Master Library 
  397.  
  398.  o View a Font Information popup that displays the information stored in the 
  399.    Master Library for any Master Library font. 
  400.  
  401.  The user has the option of Saving the Master Library at any point.  If the 
  402.  Master Library has been changed but not saved when FontFolder is closed, the 
  403.  user is prompted as to whether the Master Library changes should be saved or 
  404.  discarded.  FontFolder keeps one level of backup of the Master Library file, 
  405.  and there is provision for the user to revert to the backup copy of the Master 
  406.  Library. 
  407.  
  408.  
  409. ΓòÉΓòÉΓòÉ 8. Installing Fonts in OS/2 ΓòÉΓòÉΓòÉ
  410.  
  411. In order to install a font in OS/2 the font must first be registered with the 
  412. Master Library. 
  413.  
  414. To install one or more fonts in OS/2, first mark the fonts to be installed in 
  415. the Master Library list.  Then click on the Install button. 
  416.  
  417. Multiple fonts are marked/unmarked by holding down the Ctrl key while marking. 
  418. A consecutive set of fonts in the list can be marked by holding down the Ctrl 
  419. key and dragging the mouse in the list. 
  420.  
  421. Once a font is installed in OS/2 from FontFolder it is immediately available 
  422. for use by applications.  Some applications may need to be restarted in order 
  423. to see the newly installed fonts.  A few applications manage their own font 
  424. lists.  These applications may or may not see all fonts installed in OS/2.  If 
  425. a newly installed font does not show up in your application, try opening the 
  426. OS/2 Font Pallete and looking in the list of fonts shown via the Edit font 
  427. button.  If the font shows up in the Font Pallete list it is properly installed 
  428. in OS/2.  In this case you should contact your application vendor to find out 
  429. how they are managing fonts. 
  430.  
  431.  
  432. ΓòÉΓòÉΓòÉ 9. Removing Fonts from OS/2 ΓòÉΓòÉΓòÉ
  433.  
  434. To remove one or more fonts from OS/2, first mark the fonts to be removed in 
  435. the OS/2 Installed Fonts list.  Then click on the Remove button. 
  436.  
  437. Multiple fonts are marked/unmarked by holding down the Ctrl key while marking. 
  438. A consecutive set of fonts in the list can be marked by holding down the Ctrl 
  439. key and dragging the mouse in the list. 
  440.  
  441. Removing fonts from OS/2 is a complicated operation.  It is best understood by 
  442. thinking of OS/2 keeping two lists of fonts. 
  443.  
  444.  o The first OS/2 list is the long term list, kept in OS2.INI, which tells OS/2 
  445.    which fonts to load on bootup.  FontFolder always updates this list when a 
  446.    font is removed from OS/2, so the font will be gone on the next OS/2 bootup. 
  447.  
  448.  o The other OS/2 font list is the list of fonts currently loaded and available 
  449.    in memory. Since multiple applications can be running in OS/2 
  450.    simultaneously, OS/2 must protect one application from another application 
  451.    unloading a font that the first application is currently using.  OS/2 
  452.    attempts to keep track of whether a given font is in use and to allow an 
  453.    application (including FontFolder and the OS/2 Font Pallete) to unload the 
  454.    font if it is not in use by another application.  However, OS/2 appears to 
  455.    do a less than perfect job of tracking this, so it may or may not be 
  456.    possible to unload a font from memory.  FontFolder takes the view that if 
  457.    the user said to unload the font, it should be shown in the Installed Fonts 
  458.    list as unloaded, so the Installed Fonts list is updated and the font 
  459.    removed from the list even if FontFolder was unable to unload the font from 
  460.    OS/2 memory.  As noted above, the font will be gone the next time OS/2 
  461.    boots. 
  462.  
  463.  
  464. ΓòÉΓòÉΓòÉ 10. FontFolder Menus. ΓòÉΓòÉΓòÉ
  465.  
  466. The menu items available in FontFolder are shown below.  Click on the 
  467. appropriate item for further information. 
  468.  
  469.  o Master Library 
  470.  
  471.     - Register Fonts 
  472.     - Delete Fonts 
  473.     - Save Master Library 
  474.     - Revert Master Library 
  475.     - Font Information 
  476.  
  477.  o Options 
  478.  
  479.     - View 
  480.     - Settings 
  481.  
  482.  
  483. ΓòÉΓòÉΓòÉ 10.1. Master Library Menu ΓòÉΓòÉΓòÉ
  484.  
  485. The choices on the Master Library menu are 
  486.  
  487.  o Register Fonts 
  488.  o Delete Fonts 
  489.  o Save Master Library 
  490.  o Revert Master Library 
  491.  o Font Information 
  492.  
  493.  
  494. ΓòÉΓòÉΓòÉ 10.1.1. Register Fonts ΓòÉΓòÉΓòÉ
  495.  
  496. Select this menu item to register one or more fonts with the Master Library. 
  497. When selected, a Register Fonts file dialog panel will appear which allows the 
  498. user to select the drive and directory on which the fonts to be registered are 
  499. located (the source location).  Fonts are represented in the file dialog by 
  500. their PFB file. Multiple font files may be selected. 
  501.  
  502. If the source location is on a removable drive an additional Copy Fonts to Hard 
  503. Drive dialog panel will be displayed where the user can specify where to place 
  504. the selected fonts on a hard drive (the target location).  The user can also 
  505. specify on this panel whether or not to copy any companion Windows font files 
  506. that are found. 
  507.  
  508. If the operation is successful the fonts selected will appear in the Master 
  509. Library list. This list must be saved to make these additions permanent. 
  510.  
  511.  
  512. ΓòÉΓòÉΓòÉ 10.1.2. Delete Fonts ΓòÉΓòÉΓòÉ
  513.  
  514. First mark one or more fonts in the Master Library list for deletion and then 
  515. select this menu item from the Master Library pulldown on the menu bar to 
  516. delete the marked fonts from the Master Library. FontFolder will prompt the 
  517. user to confirm the deletion or cancel the operation. Upon confirmation the 
  518. fonts will be deleted from the Master Library list. This list must be saved to 
  519. make these deletions permanent. 
  520.  
  521. If no font has been marked before Delete Fonts is selected an error message is 
  522. displayed and the operation is cancelled. 
  523.  
  524. No font files are deleted from the hard drive when a font is deleted from the 
  525. Master Library list.  Use the standard OS/2 file management facilities to 
  526. delete the font files if desired. 
  527.  
  528.  
  529. ΓòÉΓòÉΓòÉ 10.1.3. Save Master Library ΓòÉΓòÉΓòÉ
  530.  
  531. Select this menu item from the Master Library pulldown to save a copy of the 
  532. current Master Library list to disk in the file MASTLIB.FF1.  If MASTLIB.FF1 
  533. already exists it will be converted to MASTLIB.BAK before the new copy is 
  534. written. 
  535.  
  536.  
  537. ΓòÉΓòÉΓòÉ 10.1.4. Revert Master Library ΓòÉΓòÉΓòÉ
  538.  
  539. Select this menu item from the Master Library pulldown to make the backup copy 
  540. of the Master Library file, MASTLIB.BAK, the current copy. 
  541.  
  542.      Note:  The existing current copy, MASTLIB.FF1, will in turn be made the 
  543.      backup copy, so two Revert operations cancel the operation. 
  544.  
  545.  The current Master Library list held in memory and seen on the screen is reset 
  546.  to show the contents of the new current copy of the Master Library. 
  547.  
  548.  
  549. ΓòÉΓòÉΓòÉ 10.1.5. Font Information ΓòÉΓòÉΓòÉ
  550.  
  551. Mark a font in the Master Library list and select this menu item from the 
  552. Master Library pulldown to see a popup window showing information about the 
  553. selected font.  This information includes the font name, the fully qualified 
  554. path to the font file and a font text sample for the marked font.  The point 
  555. size of the font used in the text sample can be changed, and the user can 
  556. revise the sample text.  If the sample text is revised, the revised text will 
  557. be saved and redisplayed in the future. 
  558.  
  559. Marking multiple items will not cause an error, but FontFolder will only show 
  560. the font information for the first marked item. 
  561.  
  562. The user can also quickly select this item from the Main Window by clicking on 
  563. the Font Information Button in the upper left corner of the window.  The Font 
  564. Information Button is shown below. 
  565.  
  566.  
  567. ΓòÉΓòÉΓòÉ 10.2. Options Menu ΓòÉΓòÉΓòÉ
  568.  
  569. The choices on the Options menu are shown below: 
  570.  
  571.  o View 
  572.  o Settings 
  573.  
  574.  
  575. ΓòÉΓòÉΓòÉ 10.2.1. View ΓòÉΓòÉΓòÉ
  576.  
  577. The View menu option allows the user to change how the font lists are displayed 
  578. in the main FontFolder window.  The default display lists the fonts by their 
  579. font names (e.g. Courier Bold).  The user can also choose to have the lists 
  580. display the fonts by their file names (COURB.OFM) or by their fully qualified 
  581. path names (C:\PSFONTS\COURB.OFM). In each view the font lists are sorted 
  582. alphabetically by the currently displayed names. 
  583.  
  584.      Note:  One way in which an alternate view is useful is that the path names 
  585.      view groups all fonts residing in the same directory together in the list 
  586.      so a user who wants to move a font directory for space or other reasons 
  587.      and needs to discover which font files from that directory are currently 
  588.      loaded in OS/2 can easily find them. 
  589.  
  590.  All FontFolder functions are fully operational from whatever view is currently 
  591.  displayed. 
  592.  
  593.  To select a new view, choose the View menu item from the Options pulldown on 
  594.  the menu bar, then choose the appropriate view from the submenu. 
  595.  
  596.  
  597. ΓòÉΓòÉΓòÉ 10.2.2. Settings ΓòÉΓòÉΓòÉ
  598.  
  599. Choose the Settings menu item from the Options pulldown to bring up the 
  600. FontFolder Settings Dialog. From this dialog the user can 
  601.  
  602.  o Edit the Removable Drives list 
  603.  
  604.  o Change the path to the FONTFOLD.INI file 
  605.  
  606.  o Change the path to the Master Library file, MASTLIB.FF1 
  607.  
  608.  o Set the default on whether or not to Copy Windows Font Files when 
  609.    registering files residing on removable media with the Master Library 
  610.  
  611.  See the FontFolder Settings Dialog help for more details. 
  612.  
  613.  
  614. ΓòÉΓòÉΓòÉ 10.3. Help Menu Help ΓòÉΓòÉΓòÉ
  615.  
  616. Help is available for the following Help menu items: 
  617.  
  618.  o Keys Help 
  619.  
  620.  o Product information 
  621.  
  622.  
  623. ΓòÉΓòÉΓòÉ 10.3.1. Keys Help ΓòÉΓòÉΓòÉ
  624.  
  625. The following are the FontFolder shortcut keys.  When the names of two keys are 
  626. shown joined by a plus (+) sign, press both keys simultaneously. 
  627.  
  628. Main Window Shortcut Keys 
  629.  
  630.  Key          Purpose 
  631.  Ctrl+M       Tab to Master Library list in Main Window 
  632.  Ctrl+O       Tab to OS/2 Installed Fonts list in Main Window 
  633.  Ctrl+I       Install font in OS/2 
  634.  Ctrl+U       Remove(Uninstall) font from OS/2 
  635.  
  636.  Menu Item Shortcut Keys 
  637.  
  638.  Key          Purpose 
  639.  Ctrl+R       Register font with Master Library 
  640.  Ctrl+D       Delete font from Master Library 
  641.  F2           Save Master Library 
  642.  Shift+F2     Revert Master Library 
  643.  Ctrl+Q       Master Library font information 
  644.  Ctrl+N       View fonts by fontname 
  645.  Ctrl+F       View fonts by filename 
  646.  Ctrl+P       View fonts by pathname 
  647.  Ctrl+S       View/Change Settings 
  648.  
  649.  
  650. ΓòÉΓòÉΓòÉ 10.3.2. Product Information ΓòÉΓòÉΓòÉ
  651.  
  652. Selecting this menu item displays product related information such as the 
  653. version number, author and date of production of FontFolder. 
  654.  
  655.  
  656. ΓòÉΓòÉΓòÉ 11. FontFolder Dialogs ΓòÉΓòÉΓòÉ
  657.  
  658. Help is available for the following FontFolder dialogs: 
  659.  
  660.  o Setup Dialog 
  661.  o Settings Dialog 
  662.  o Copy Fonts to Hard Drive Dialog 
  663.  o Load Installed Fonts List Dialog 
  664.  
  665.  
  666. ΓòÉΓòÉΓòÉ 11.1. Setup Dialog ΓòÉΓòÉΓòÉ
  667.  
  668. The FontFolder Setup Dialog is displayed when first starting FontFolder and in 
  669. any case when FontFolder cannot find the FONTFOLD.INI file on startup. 
  670.  
  671. This dialog presents the user with key choices that must be made before 
  672. FontFolder can run.  They are 
  673.  
  674.  o Removable Drive Letters 
  675.  
  676.    When the user trys to register a font with the FontFolder Master Library, 
  677.    FontFolder needs to check whether the source location for the font files is 
  678.    on a removable medium such as a diskette or a CDROM.  If the font files are 
  679.    on a removable medium, FontFolder must copy them to a location on a 
  680.    nonremovable drive (a hard drive) as part of the registration process.  OS/2 
  681.    requires that fonts reside on a hard drive when installed. 
  682.  
  683.    FontFolder uses the Removable Drive Letters entry to identify the removable 
  684.    drives. The user should enter the drive letters of all the removable drives 
  685.    on the system in the Removable Drive Letters entry field.  The form of the 
  686.    entry is the drive letters with no spacing or other punctuation. 
  687.  
  688.    Example: If the system has two diskette drives, A and B, and a CDROM drive 
  689.    identified as F, then the Removable Drive Letters entry should be 
  690.  
  691.         ABF 
  692.  
  693.    Failure to properly identify the removable drives can lead to unpredictable 
  694.    results. 
  695.  
  696.  o Path to FontFolder INI file 
  697.  
  698.    The first time FontFolder is closed it creates a file called FONTFOLD.INI 
  699.    and writes a set of information about its state to the file.  Examples of 
  700.    the type of information are the size and location of the FontFolder window 
  701.    on the screen, the Removable Drive Letters setting, and the location of the 
  702.    Master Library file. 
  703.  
  704.    The default is to create this file in the same directory as FONTFOLD.EXE. 
  705.    However the user may want to locate the file in a different directory.  For 
  706.    example, if FontFolder resides on a network server and is shared by several 
  707.    users, each user needs an individual copy of FONTFOLD.INI.  In this case the 
  708.    user should change the path to the FontFolder INI file to point to a 
  709.    location on the local workstation. 
  710.  
  711.    If the path to the FontFolder INI file is changed, an entry is made in 
  712.    OS2.INI specifying where this file is located. 
  713.  
  714.  o Master Library Path 
  715.  
  716.    The Master Library data file, MASTLIB.FF1, contains the font registration 
  717.    information for the Master Library.  The default is for this file to reside 
  718.    in the same directory as the FONTFOLD.EXE file, but the user can change the 
  719.    path to point to another location.  The Master Library Path information is 
  720.    stored in FONTFOLD.INI. 
  721.  
  722.    One consideration in deciding where to locate the Master Library data file 
  723.    is the size of this file.  The size will vary depending on the number of 
  724.    fonts registered with the Master Library.  For the largest library that 
  725.    FontFolder can currently support the size of MASTLIB.FF1 would be 
  726.    approximately 360KB.  Since one backup copy, MASTLIB.BAK, is also 
  727.    maintained, the maximum total space requirement for the Master Library files 
  728.    is approximately 720KB.  However, this assumes the font file information 
  729.    stored includes maximum length path names.  In actual practice the Master 
  730.    Library files will probably only be 20-30% of this size. 
  731.  
  732.  
  733. ΓòÉΓòÉΓòÉ 11.2. Settings Dialog ΓòÉΓòÉΓòÉ
  734.  
  735. The Settings Dialog is displayed when the user chooses Settings from the 
  736. Options pulldown on the menu bar.  From this Dialog the user can set the 
  737. following FontFolder settings: 
  738.  
  739.  o Removable Drive Letters 
  740.  
  741.    When the user trys to register a font with the FontFolder Master Library, 
  742.    FontFolder needs to check whether the source location for the font files is 
  743.    on a removable medium such as a diskette or a CDROM.  If the font files are 
  744.    on a removable medium, FontFolder must copy them to a location on a 
  745.    nonremovable drive (a hard drive) as part of the registration process.  OS/2 
  746.    requires that fonts reside on a hard drive when installed. 
  747.  
  748.    FontFolder uses the Removable Drive Letters entry to identify the removable 
  749.    drives. The user should enter the drive letters of all the removable drives 
  750.    on the system in the Removable Drive Letters entry field.  The form of the 
  751.    entry is the drive letters with no spacing or other punctuation. 
  752.  
  753.    Example: If the system has two diskette drives, A and B, and a CDROM drive 
  754.    identified as F, then the Removable Drive Letters entry would be 
  755.  
  756.         ABF 
  757.  
  758.    Failure to properly identify the removable drives can lead to unpredictable 
  759.    results. 
  760.  
  761.  o Path to FontFolder INI file 
  762.  
  763.    The first time FontFolder is closed it creates a file called FONTFOLD.INI 
  764.    and writes a set of information about its state to the file.  Examples of 
  765.    the type of information are the size and location of the FontFolder window 
  766.    on the screen, the Removable Drive Letters setting, and the location of the 
  767.    Master Library file. 
  768.  
  769.    The default is to create this file in the same directory as FONTFOLD.EXE. 
  770.    However the user may want to locate the file in a different directory.  For 
  771.    example, if FontFolder resides on a network server and is shared by several 
  772.    users, each user needs an individual copy of FONTFOLD.INI.  In this case the 
  773.    user should change the path to the FontFolder INI file to point to a 
  774.    location on the local workstation. 
  775.  
  776.    If the path to the FontFolder INI file is changed, an entry is made in 
  777.    OS2.INI specifying where this file is located. 
  778.  
  779.  o Master Library Path 
  780.  
  781.    The Master Library data file, MASTLIB.FF1, contains the font registration 
  782.    information for the Master Library.  The default is for this file to reside 
  783.    in the same directory as the FONTFOLD.EXE file, but the user can change the 
  784.    path to point to another location.  The Master Library Path information is 
  785.    stored in FONTFOLD.INI. 
  786.  
  787.    One consideration in deciding where to locate the Master Library data file 
  788.    is the size of this file.  The size will vary depending on the number of 
  789.    fonts registered with the Master Library.  For the largest library that 
  790.    FontFolder can currently support the size of MASTLIB.FF1 would be 
  791.    approximately 360KB.  Since one backup copy, MASTLIB.BAK, is also 
  792.    maintained, the maximum total space requirement for the Master Library files 
  793.    is approximately 720KB.  However, this assumes the font file information 
  794.    stored includes maximum length path names.  In actual practice the Master 
  795.    Library files will probably only be 20-30% of this size. 
  796.  
  797.  o Copy Windows Font Files checkbox 
  798.  
  799.    When the font that a user registers with the Master Library resides on a 
  800.    removable drive such as a diskette or CDROM drive, FontFolder must copy the 
  801.    font files to a hard drive location in order for OS/2 to use them.  If the 
  802.    Copy Windows Font Files checkbox is checked then FontFolder will also copy 
  803.    the appropriate Windows font files to the hard drive. 
  804.  
  805.  
  806. ΓòÉΓòÉΓòÉ 11.3. Copy Fonts to Hard Drive Dialog ΓòÉΓòÉΓòÉ
  807.  
  808. When the font that a user registers with the Master Library resides on a 
  809. removable drive such as a diskette or CDROM drive, FontFolder must copy the 
  810. font files to a hard drive location in order for OS/2 to use them.  The Copy To 
  811. Hard Drive dialog will be displayed, and the user must enter the path to the 
  812. directory on the hard drive where the fonts should be copied.  A checkbox gives 
  813. the user the option of making the path entered the default for future Copy 
  814. Fonts to Hard Drive dialogs. 
  815.  
  816. The user also may change the Copy Windows Font Files setting as shown in the 
  817. Copy Windows Font Files checkbox. If the Copy Windows Font Files checkbox is 
  818. checked then FontFolder will also copy the appropriate Windows font files to 
  819. the hard drive. This setting may also be changed from the Settings menu. 
  820.  
  821.  
  822. ΓòÉΓòÉΓòÉ 11.4. Load Installed Fonts List Dialog ΓòÉΓòÉΓòÉ
  823.  
  824. This dialog box appears during FontFolder startup when FontFolder encounters a 
  825. font already installed in OS/2 that is either unreadable by OS/2 or for which 
  826. the OS/2 font information is corrupt.  It is possible to add such fonts to the 
  827. list of OS/2 Installed Fonts using the OS/2 Font Pallete.  However, OS/2 cannot 
  828. use such fonts, and they do not show up in the Font Pallete.  FontFolder 
  829. rejects these fonts. 
  830.  
  831. The Load Installed Fonts List dialog shows the name of the unusable font file, 
  832. and gives the user the option of either removing it from the list of Installed 
  833. Fonts or leaving it alone.  In either case, FontFolder will not show this font 
  834. on its list of Installed Fonts.  Normally the user should choose to Remove the 
  835. font.  The only case where one might choose otherwise is if the user wants to 
  836. temporarily leave it alone while the user investigates to understand what the 
  837. problem might be with the font file. 
  838.  
  839. If the user chooses the Leave Alone option, this dialog box will reappear every 
  840. time FontFolder is started, until the user chooses Remove. 
  841.  
  842.  
  843. ΓòÉΓòÉΓòÉ 12. Error Recovery ΓòÉΓòÉΓòÉ
  844.  
  845. See the following for help with specific errors: 
  846.  
  847.  o Listbox Error 
  848.  
  849.  
  850. ΓòÉΓòÉΓòÉ 12.1. Listbox Error ΓòÉΓòÉΓòÉ
  851.  
  852. Error Message: 
  853.  
  854.      OS/2 can not insert any more items in the listbox name listbox. Your data 
  855.      should be safe. Refer to the Help section on Error Recovery for 
  856.      instructions on how to recover from this error. 
  857.  
  858.  Explanation: 
  859.  
  860.  This error occurs when OS/2 has reached its limit of 64K bytes of listbox text 
  861.  for all listboxes in the system.  In FontFolder this usually only occurs when 
  862.  in full pathname view mode and the font directory paths are very long.  If you 
  863.  have large numbers of fonts stored in directories with long path names, try 
  864.  the following: 
  865.  
  866.   1. If you are not already in Pathname view mode, switch to this mode, 
  867.      ignoring the error message. 
  868.  
  869.   2. Select all the entries in the Master Library listbox that are located in 
  870.      the directory with the long path name. 
  871.  
  872.   3. Select Delete from the Master Library menu. 
  873.  
  874.   4. Select Pathname view mode again from the Options menu to refresh the 
  875.      listboxes and repeat steps 2 and 3.  Do this as many times as is required 
  876.      to purge all the items for the long path name directory. 
  877.  
  878.   5. Save the Master Library.  You should now be able to switch in and out of 
  879.      the Pathname view mode without encountering the Listbox error.  If not, 
  880.      you may have to repeat the above steps for another directory. 
  881.  
  882.   6. If any of the fonts you have just removed are installed in OS/2, uninstall 
  883.      them. 
  884.  
  885.   7. Close FontFolder and reboot the system.  The reboot may not be necessary, 
  886.      but you should do it anyway as a safety precaution. 
  887.  
  888.   8. Reorganize your font directories so that they have shorter path names, and 
  889.      then re-register the fonts with FontFolder. 
  890.  
  891.  If after doing the above, you still get the Listbox error message, you have 
  892.  reached the limit of the total number of fonts you can register in FontFolder. 
  893.  Remove fonts using the above procedure until the error message no longer 
  894.  occurs. 
  895.  
  896.  
  897. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  898.  
  899. FontFolder uses the term register in the sense that information about the font 
  900. and where to find the font files is added to the library.  This term is used in 
  901. preference to add to try to make the point that no files are added to the 
  902. system as part of the registration process.  The exception to this is when the 
  903. files reside on a removable drive, in which case FontFolder both registers them 
  904. and adds them to the system.