home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 395.lha / ConvertAFM / ConvertingMacFonts.txt < prev    next >
Encoding:
Text File  |  1980-01-21  |  6.4 KB  |  155 lines

  1. ************************************************************
  2.  
  3.            Using Adobe Type with Professional Page
  4.  
  5. ************************************************************
  6.  
  7. Part 3:  Converting Macintosh Screen Fonts
  8.  
  9. Before you download any screen fonts from your service bureau, please ensure
  10. that they do the following:
  11.  
  12. 1) Separate each font package into indvidual packets, or 'suitcases' of
  13. multiple point sizes.
  14.  
  15. 2) Exclude any Italic versions of screen fonts, unless the typeface itself
  16. comes as italic or bolditalic only.
  17.  
  18. 3) Pack each individual suitcase along with the .AFMs in a single .SIT file.
  19.  
  20. Point 1 is required because using Macintosh NFNTs there is no way of telling
  21. what font is what after you unpack it.
  22.  
  23. Point 2 is required because PPage automatically makes italics on screen, and
  24. it would be a waste of disk space otherwise.  If the bureau complains about
  25. font spacing, tell them that PPage takes spacing information (for printing
  26. and screen display) from the .AFMs, so no problem there.
  27.  
  28. Point 3 is simply a convenience.  If their .SIT is larger than 880K and you
  29. don't have a hard disk, don't let them use StuffIt's Segment option!  Tell
  30. them to create individual archives no larger than 880K!  UnSIT cannot join a
  31. segmented archive file.
  32.  
  33. If your bureau does as you ask, then when you unpack a .SIT file you may get
  34. something that looks like the following in a DIR listing:
  35.  
  36. OptimaRegular.R
  37. HelvConReg.R
  38. HelvConBol.R
  39. Optim.AFM.D
  40. OptimIta.AFM.D
  41. OptimBol.AFM.D
  42. OptimBolIta.AFM.D
  43. HelvCon.AFM.D
  44. HelvConObl.AFM.D
  45. HelvConBol.AFM.D
  46. HelvConBolOlb.AFM.D
  47.  
  48. What the bureau has done is: Made the Optima Regular screen fonts up in one
  49. resource file, Helvetica Condensed Regular in one file, Helvetica Condensed
  50. Bold in one file, and included all the related .AFMs.  The font
  51. resource files are also called 'suitcases'.
  52.  
  53. Use the .AFM.D files with ConvertAFM to create .metric files.
  54.  
  55. Using MacFont
  56.  
  57. MacFont by Rico Mariani was designed to convert Macintosh screen fonts to
  58. Amiga screen fonts.  Amiga screen fonts are those fonts that can be used by
  59. standard applications like Deluxe Paint, VideoTitler, PageSetter, and such.
  60. PPage also uses them to represent PostScript typefaces on screen.
  61.  
  62. Unfortunately, MacFont was designed around the older FONT resource, which is
  63. still around today, but causes Font ID problems in today's Macintosh
  64. applications.  Now, Apple and Adobe use NFNTs which are like the FONTs, but
  65. have no internal names, and have a different resource name: NFNT.
  66.  
  67. Because of this, MacFont's Unpack program cannot recognize NFNTs.  To try
  68. and fix this, I've hacked at the original program so it looks for NFNTs
  69. instead of FONTs.  I simply used a sector editor and changed wherever I saw
  70. 'FONT' to read 'NFNT'.  This works except for one major problem:  Since
  71. NFNTs don't contain the names of themselves, UnpackNFNT can't properly give
  72. names to the output files it produces.  This is why the service bureau must
  73. make separate suitcases containing the same font in different point sizes
  74. ONLY!  Another drawback of this is it tries to pull filenames out of thin
  75. air, often GURUing in the process.
  76.  
  77. To properly open up a suitcase file, you MUST FIRST reset your Amiga
  78. with the power switch.  That's right, turn it OFF, the back on.  Next, keep
  79. tapping CTRL-D to stop the startup sequence before it even starts.  Next,
  80. type SetPatch to patch the system as the startup normally does.  Now, CD to
  81. the directory or disk with the suitcase files, and type:
  82.  
  83. UnpackNFNT suitcasename
  84.  
  85. For each resource file, you'll produce at most five files with filenames
  86. like .67 or some other number.  Adobe screen fonts come in 10, 12, 14, 18,
  87. and 24 point sizes, and the larger the file the larger the point size.  If
  88. there are more files don't worry.  After it has unpacked the suitcase,
  89. rename each file so that the name matches the name you give the .metric file
  90. you created (or will create) using ConvertAFM, like:
  91.  
  92. Rename .83 Optima.12
  93.  
  94. Make sure that each file has the same name with a different number at the
  95. end.  This is supposed to represent a name.pointsize format that the next
  96. Convert program uses.  The number doesn't matter, though, but make sure that
  97. the name is the same for all.
  98.  
  99. Next, unpackNFNT your next suitcase.  If it GURUs then turn off the
  100. machine and set it up as before.  Rename each output file as you did before,
  101. until all of your suitcase files are unpacked.
  102.  
  103. Now, you can reboot your machine properly.
  104.  
  105. **FINALLY**, you can convert them to Amiga fonts.  First, assign FONTS: to
  106. someplace convenient, as it creates a new font and .font file for each font
  107. or group of fonts.  A great place to assign FONTS: is to the PPageUtil disk
  108. like this:
  109.  
  110. Assign FONTS: PPageUtil:Fonts
  111.  
  112. To convert an individual point size, use the ConvertFNT Command:
  113.  
  114. ConvertFNT Filename.size
  115.  
  116. To convert a whole bunch of files, use the Workbench 1.3 SPAT script:
  117.  
  118. SPAT ConvertFNT #?
  119.  
  120. Make sure that nothing but unpacked font files reside in the current
  121. directory.  You can also do this:
  122.  
  123. SPAT ConvertFNT df1:unpacking/#?
  124.  
  125. if all of the unpacked fonts reside in a common directory.  You can read all
  126. about SPAT and DPAT in your 1.3 suppliment.  They give single and double
  127. pattern-matching to commands or programs that don't normally support pattern
  128. matching, such as ConvertFNT.
  129.  
  130. You'll find that the screen font sizes are off by a point or two.  For
  131. example, AdobeGaramond.12 may become AdobeGaramond 13 point.  This is
  132. because on the Mac, sizes are recorded by printed point size, but on the
  133. Amiga they're recorded by pixel height.  You can use Fed or Calligrapher to
  134. make it back to normal size, but it really has no effect on PostScript
  135. output with PPage, just with how screen fonts look on screen.  It usually
  136. works out anyway:  You wind up with a 13 and 26 point pair that works just
  137. like the 12 and 24 point pair.
  138.  
  139. The ConvertFNT program works on either unpacked NFNTs or FONTs.  The
  140. original Unpack program (Now called UnpackFONT) still works for the original
  141. FONT resource files, and works properly with no bugs or GURUs.
  142.  
  143. NOTE:  UnpackFONT and UnpackNFNT support an -x option which skips a
  144. MacBinary header if you downloaded an individual font resource file (or
  145. suitcase) by itself.  If the resource file came from a .SIT archive, the -X
  146. option MUST be omitted, or it won't work!
  147.  
  148. Finally use the Workbench 1.3 command FixFonts to clean up all the .font
  149. files in the current FONTS: directory by just typing 'FixFonts' or
  150. 'SYS:System/FixFonts'.  And they're all ready for use in PPage, or in fact
  151. any program that uses Amiga screen fonts!
  152.  
  153. Have fun!
  154.  
  155.