home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / system / 16718 < prev    next >
Encoding:
Text File  |  1993-01-27  |  7.7 KB  |  155 lines

  1. Newsgroups: comp.sys.mac.system
  2. Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!howland.reston.ans.net!paladin.american.edu!gatech!usenet.ins.cwru.edu!agate!netsys!pagesat!spssig.spss.com!uchinews!kimbark!chh9
  3. From: chh9@kimbark.uchicago.edu (Conrad Halling)
  4. Subject: Followup:  Why Monaco isn't WYSISYG (long)
  5. Message-ID: <1993Jan27.192434.17198@midway.uchicago.edu>
  6. Sender: news@uchinews.uchicago.edu (News System)
  7. Reply-To: chh9@midway.uchicago.edu
  8. Organization: University of Chicago
  9. References: <1993Jan25.191841.13902@midway.uchicago.edu>
  10. Date: Wed, 27 Jan 1993 19:24:34 GMT
  11. Lines: 142
  12.  
  13. In article <1993Jan25.191841.13902@midway.uchicago.edu> I wrote:
  14.  
  15. >The Monaco TrueType font contains an error.  Monaco is supposed to be a
  16. >monospaced font, but the characters do not align correctly.  The space
  17. >character is printed at different widths, throwing off character alignment.
  18.  
  19. [remainder deleted]
  20.  
  21. Summary:
  22.  
  23. Apple's printer drivers cause the printing problems with Monaco.  Apparently
  24. they adjust the spacing of words when printing using TrueType to match
  25. the spacing of words when drawn with the bitmap fonts.  If the bitmap fonts
  26. are not used by the System, Monaco TrueType prints perfectly.  Non-Apple
  27. printers (such as DeskWriters) do not have this problem.
  28.  
  29. Recap:
  30.  
  31. In our laboratory, we need to print a great deal of text in a monospaced
  32. font (such as Courier or Monaco).  Correct alignment of the characters
  33. is crucial.  I have found that the alignment of text drawn in Monaco is
  34. incorrect under certain conditions.  Alignment is poor when the standard
  35. size, Monaco 9-point, is used.
  36.  
  37. Reports from other people:
  38.  
  39. Some people wrote me and said that they were having no problem.  Most
  40. of them were using non-Apple printers.  I believe a couple of people said
  41. they were having no problem on Apple's printers.
  42.  
  43. About an equal number of people said they saw the same problem I did. One
  44. person's solution was to remove the Monaco TrueType font.  Then all printing
  45. was done using the bitmap font.
  46.  
  47. New results:
  48.  
  49. I tried printing at different print sizes.  I found that alignment is worst
  50. using 9-point Monaco.  Alignment is off a little for Monaco 7, 8, 11, and
  51. 12-point.  However, alignment is perfect for Monaco 10-point.  I neglected
  52. to mention in my original post that I was testing output using 9-point
  53. Monaco.  So people who printed using 10-point would see no problem.  The
  54. alignment problems at 12-point are minor (but they exist if you look
  55. carefully).
  56.  
  57. An experiment:
  58.  
  59. In order to test whether the Monaco TrueType font is okay, I had to
  60. remove the bitmap font from the System.  This is not an easy matter since
  61. the 9-point bitmap is installed in the ROM of most Macintoshes.  In order to
  62. do this, I had to:
  63.  
  64.     1)  Make a copy of the System file by holding down the option key and
  65.         dragging the System file onto the desktop.
  66.     2)  Open the _copy_ of the System file using ResEdit 2.1.1.  Never, ever
  67.         modify the original System file.
  68.     3)  Open the FOND resource, and remove FOND ID 4 (if present).
  69.     4)  Open the FONT resource, and remove any FONT IDs that are present
  70.         for Monaco (9-point Monaco has a FONT ID of 521).
  71.     5)  Open the ROv# resource.  Open the only ID that is present (e.g., 1660 
  72.         on a Macintosh IIci running System 7.1).  Scroll to the bottom of the 
  73.         window.  Click on the row of 5 stars. Choose "Insert New Field(s)"
  74.         from the "Resource" menu. Click on the first box that appears and 
  75.         type in "FONT" (without the quotes, of course).  Then click on the 
  76.         second box and type in "521". (This tells the System to ignore the 
  77.         Monaco 9-point bitmap that is in the ROM.)
  78.     6)  Save and Quit from ResEdit.
  79.     7)  If you are running System 7.0 or 7.0.1, open the copy of the
  80.         System file.  Drag all Monaco icons onto the desktop.  Then install
  81.         _only_ the Monaco TrueType icon.
  82.     8)  If you are running System 7.1, open the Fonts folder in the System
  83.         folder.  Drag all the Monaco icons (or suitcase) onto the desktop.
  84.         Then install _only_ the Monaco TrueType font (by opening the suitcase
  85.         if necessary and dragging the truetype icon from the suitcase into
  86.         the Fonts folder).
  87.     9)  Create a new folder in the System folder and call it something like
  88.         "Unmodified System file".  Drag the unmodifed System file into this
  89.         folder.  Drag the modified System file from the desktop into the
  90.         System folder.
  91.    10)  Restart your computer.  You might want to have your System 7 disk
  92.         tools disk handy in case anything goes wrong and you need a boot disk.
  93.         If your computer doesn't boot correctly, boot using the disk tools
  94.         disk.  Open the System folder and throw the modified System file into
  95.         the trash.  Open the folder containing the original System file, and
  96.         drag the original System file into the System folder.  Then restart
  97.         your computer, and start again at step 1.
  98.    11)  Monaco font should now be drawn using only TrueType.  For example,
  99.         open a text editing program or a word processing program.  Set the
  100.         font to Monaco 9-point.  When you insert some text, it won't be
  101.         very readable, and the zeroes will have slashes through them.
  102.  
  103. When I did this, and tried printing with Monaco 9-point, the alignment
  104. was perfect.  So the problem is not with the TrueType font itself but
  105. with something else.
  106.  
  107. I have also observed that when the Monaco bitmap and TrueType fonts are
  108. both present, that Monaco 10-point (drawn using TrueType) is the same
  109. width as Monaco 9-point (drawn using the bitmap).  When the bitmap fonts
  110. are absent, Monaco 9-point (drawn using TrueType) is narrow than Monaco
  111. 10-point, as should be.
  112.  
  113. A hypothesis:
  114.  
  115. So here's what I think is going on.  Apple's printer drivers are
  116. drawing the print image using TrueType but trying to adjust the output to
  117. get the word spacing to match the spacing generated by the bitmap.  The
  118. misalignment is most severe for 9-point Monaco since the bitmap actually has
  119. the width of the 10-point TrueType font.  The driver tries to fix the
  120. positions of words to match the screen image by adding extra space between
  121. the words.  The driver does this in order to preserve "What You See Is What
  122. You Get" (WYSIWYG).  (This is similar to what happens when you create a
  123. document using Geneva and print it on a LaserWriter with font substitution
  124. turned on -- the LaserWriter substitutes the postscript Helvetica font, but
  125. since the character widths are different for the two fonts, the LaserWriter
  126. driver has to put extra space between the words so they'll appear in
  127. roughly the same positions.)  In this effort by the driver to preserve
  128. WYSIWYG, it destroys it when the alignment of individual characters is
  129. crucial.
  130.  
  131. Printer drivers written for non-Apple printers apparently don't do all this,
  132. since people have reported that the DeskWriter prints correctly.
  133.  
  134. Solutions:
  135.  
  136.   1)  Print using Courier.  This is fine as long as Courier is present.
  137.   2)  Print using Monaco 10-point, which seems to align correctly.
  138.   3)  Go through the involved (and, for novices, risky) procedure of removing
  139.       all Monaco bitmap resources so that only Monaco TrueType is present.
  140.       Unfortunately, this means that 9-point Monaco on the screen is not
  141.       very readable.
  142.   4)  Wait for a new System release which will have an update of QuickDraw and
  143.       a new Print Manager.  Presumably, these problems will then go away.
  144.  
  145. Since I think the Monaco TrueType font is incredibly ugly anyway, I will
  146. simply be printing with Courier.  I use Monaco because I find the 9-point
  147. Monaco bitmap font more readable than Courier.  So I will make documents
  148. using Monaco 9-point, then convert them to Courier 10-point (the equivalent
  149. size) before printing them.
  150.  
  151. -- 
  152. Conrad Halling
  153. c-halling@uchicago.edu
  154.  
  155.