home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / PRINTING / REFNT4.ZIP / REFONT.DOC next >
Text File  |  1992-05-02  |  9KB  |  179 lines

  1.                                   R E F O N T
  2.                                      V1.4
  3.                                      from
  4.                                    A C U T E
  5.                                  s y s t e m s
  6.  
  7. INTRODUCTION
  8. ------------
  9. REFONT is a font utility that allows you to use MAC type 1 and TrueType
  10. fonts on IBMPC machines with Windows and ATM. With REFONT you can:
  11. 1) Convert MAC format type 1 outlines to IBM format type 1 outlines (PFB).
  12. 2) Convert MAC format TrueType outlines to IBM format TrueType outlines (TTF).
  13. 3) Convert Postscript AFM files to Windows compatible PFM files.
  14. 4) Generate INF files from AFM files.
  15. In outline font conversions Refont uses a "raw" translation which does not
  16. change any data in the font, it extracts and reformats the data.
  17.  
  18. DOS FILE TYPES
  19. --------------
  20. Below are definitions of the the file types and the DOS filename extentions
  21. mentioned throughout this file.
  22. PFB - PC Postscript Type 1 font file. Text and binary file containing font
  23.       outline data. Necessary for ATM.
  24. AFM - Adobe Font Metric file. Text file containing Font metrics (font names,
  25.       character widths, kerning, etc). Not used much on Mac.
  26. PFM - Printer Font Metric file. Much of the same information as in AFM files
  27.       only in binary format. Necessary for ATM.
  28. INF - Extra information text file containing individual platform, application,
  29.       and other metric information. 
  30. TTF - PC TrueType font. Binary file containing font outline data in TrueType
  31.       format.
  32.  
  33. MOVING FONTS FROM MAC TO PC
  34. ---------------------------
  35. Before you can convert font outlines to PC format you must copy them from
  36. the Mac to the PC. There are many ways to do this, below are two methods
  37. using floppy disks and the Mac's SuperDrive. These instructions are valid
  38. for both Type1 and TrueType fonts.
  39.  
  40. WITH APPLE FILE EXCHANGE:
  41. Mac files have two parts to them (called forks) a data fork (holds data) and
  42. a resource fork (holds code,bitmaps,etc). Mac font outlines (printer fonts)
  43. usually exist in the resource fork of a file. If they are copied directly
  44. using AFE, you will most likely end up with a zero length file on the PC.
  45. This is because AFE only copies the data fork (which is empty for PS type1
  46. and TrueType fonts) to the PC disk. The resource fork must be copied to the
  47. data fork of a file before using AFE. There are several ways to do this,
  48. here are a few:
  49. 1) Use Mac freeware utility REFORK (v1.1 or later). It comes with the
  50. registered version Wrefont and is also available on compuserv and other BBS's.
  51. 2) MacBinary format is used in multi-platform situations and telecommunications
  52. to keep images of both data and resource forks in one file. You can use a
  53. MacBinary program to manually generate a data file which is transferrable
  54. to the PC with AFE.
  55. 3) Use a compression utility like Stuffit or Compactor on the MAC end to create
  56. a .SIT, .CPT, or .SEA file and a PC decompressor (Unsit or Extractor) on the
  57. PC end. With this method you can copy both AFM files and font outlines in one
  58. stuffit file.
  59. After creating a data file you can use AFE in the default translation mode
  60. to copy the file to a PC disk.
  61.  
  62. WITH DOSMOUNTER:
  63. Dosmounter is a Mac desktop utility by Dayna Communications, Inc. which
  64. provides support for reading and writing DOS floppy disks, on a Mac
  65. SuperDrive, as if they were Mac format disks. Dosmounter copies both the
  66. data and resource fork to a PC disk. There is no need for other utilities.
  67. After copy, the root directory will contain a file with the data fork.
  68. This will probably be of length zero and is not needed. A directory
  69. called RESOURCE.FRK (This directory may be invisible to dir, but you
  70. can still cd to it) will be created in which the resource fork data
  71. resides. This file contains the font outlines which you want.
  72.  
  73. If you are using Windows and ATM you will need the AFM files for your fonts.
  74. AFM files are contained in the data fork and can be copied to the PC directly.
  75.  
  76. RUNNING REFONT 1.4
  77. ------------------
  78. Once the fonts are correctly transferred Refont can be run on them to create
  79. the appropriate files. Be sure the files you are going to run through Refont
  80. do not have extensions reserved for the output files (PFB,TTF,PFM,orINF) or
  81. things will get screwed up. This version of refont has a simplified user
  82. interface. It will automatically sense the type of file (Mac Type1,
  83. Mac TrueType, or AFM) and generate the appropriate type of output file.
  84. It also supports DOS wildcard characters (* and ?). Refont will automatically
  85. add the appropriate DOS extension (PFB,TTF,PFM,orINF) to the output filename
  86. unless the prompt flag (/P) is used. If /P is specified on the command line
  87. refont will ask for an output filename instead of generating it automatically.
  88. When Refont encounters an AFM file it will generate a PFM unless the /I flag
  89. is specified on the command line which specifies INF generation instead.
  90. Refont parses the command line from left to right so placement of the /I
  91. flag is critical. The /I flag only affects AFM files. The /D flag will allow
  92. you to specify an output directory or disk drive. Below are several
  93. different command line scenarios.
  94.  
  95. "REFONT /Da: MACTYPE1" will generate MACTYPE1.PFB on the A drive
  96. "REFONT /Dc: a:MACTYPE1" will generate MACTYPE1.PFB on the C drive
  97. "REFONT MACTRUE" will generate MACTRUE.TTF in the current directory
  98. "REFONT /D\fonts MACTRUE" will generate MACTRUE.TTF in the fonts directory
  99. "REFONT /I MACTYPE1 MACTYPE1.AFM" will generate MACTYPE1.PFB and MACTYPE1.INF
  100. "REFONT *.AFM" will generate PFM files for all AFM files
  101. "REFONT /I *.AFM" will generate INF files for all AFM files
  102. "REFONT *.AFM /I *.AFM" will generate PFM and INF files for all AFM files
  103. "REFONT /I /P *.AFM" will prompt for all output filenames and create INF files.
  104.  
  105. Flags:
  106. /I or /i - Create INF instead of PFM.
  107. /P or /p - Always prompt for output file name.
  108. /D or /d - Specify output directory name.
  109.  
  110. Note: If a Mac TrueType resource has more than one font, the user will be
  111. prompted for the output filename of each font.
  112.  
  113. FOR USE WITH ATM:
  114. Fonts can be installed with ATM using PFB and PFM files or using PFB, AFM, and
  115. INF files. The latter is the preferred method as it ensure compatibility with
  116. future versions of Windows and ATM. Another advantage of using INF files is
  117. that you can edit their information to change the way ATM handles them:
  118.   MSMenuName: The name that shows up in the Windows type selection menus.
  119.   VPStype: There can be up to four font styles with the same MSMenuName. This
  120.    letter specifies either normal (N), bold (B), italic (I), or bold-italic (T).
  121.   Pi: Pi fonts are not "remapped" for windows like text fonts are, this flag
  122.    specifies whether this is a pi or text font.
  123.  
  124.  
  125. ERRORS
  126. ------
  127. "UNKNOWN FILE TYPE"             - This file is not a recognizable Mac Type1,
  128.                                   Mac TrueType, or AFM file.
  129. "READ ERROR"                    - Disk read error.
  130. "WRITE ERROR"                   - Disk write error.
  131. "INVALID AFM FILE FORMAT"       - Recognized AFM file has improper format.
  132. "INVALID MAC TYPE 1 FONT FILE"  - Recognized Type1 font has improper format.
  133. "INVALID MAC TRUETYPE FONT FILE"- Recognized TT file has improper format.
  134. "CANNOT OPEN FOR READ!"         - File does not exist or cannot be opened.
  135. "CANNOT OPEN FOR WRITE!"        - Disk write protected, directory in path does
  136.                                   not exist, or file cannot be opened.
  137.  
  138. V1.4 CHANGES
  139. ------------
  140. - Now generates INF files
  141. - Now converts Mac TrueType to PC TrueType
  142. - Extra character support for ATM v2.0 in PFM
  143. - Automatic file type sensing.
  144. - Command line interface with wildcard support.
  145.  
  146. REGISTRATION
  147. ------------
  148.     A registration fee of $20.00 plus $4.00 S&H will get you a Windows
  149.     version (Wrefont V3.0) which does everything this version does and
  150.     more: you can generate AFM or PFM files from the font outlines
  151.     (along with kerning from Mac screen fonts (FOND)), convert PC PFB
  152.     files to MAC MacBinary files, convert binary PFB files into ASCII
  153.     and back again, change or customize Type1 font encoding, and convert
  154.     Mac TrueType to PC TrueType.
  155.  
  156.     You can order the Windows version from the address below or from
  157.     Public (software) Library with your MC, Visa, AMEX or Discover card
  158.     by calling 800-2424-PsL or 713-524-6394 or by FAX to 713-524-6398 or
  159.     by CompuServ to 71355,470 or by mail to PsL, P.O. Box 35705, Houston,
  160.     Texas 77235-5705. TELL THEM YOU WANT THE REGISTERED VERSION OF REFONT.
  161.     THESE NUMBERS ARE FOR ORDERING ONLY. FOR OTHER INFORMATION WRITE TO THE
  162.     ADDRESS BELOW. Registered users can obtain Wrefont updates for $4.00 S&H
  163.     to the address below only.
  164.     Acute Systems, PO Box 37, Algonquin, IL 60102.
  165.  
  166. COPYRIGHT
  167. ---------
  168. Copyright 1991,1992 Acute Systems.
  169. This software is copyrighted and it's use is restricted as follows:
  170. 1)  The software may be distributed as long as it is not sold.
  171. 2)  This file (REFONT.DOC) must accompany the executable file (REFONT.EXE)
  172.     for all distributions. Neither file can be altered in any way.
  173.  
  174. DISCLAIMER
  175. ----------
  176. THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. ACUTE SYSTEMS
  177. WILL NOT BE HELD LIABLE FOR ANY DAMAGES RELATING TO THIS SOFTWARE.
  178. YOUR USE OF THIS SOFTWARE SHOWS YOUR AGREEMENT WITH THESE TERMS.
  179.