home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / amiga / graphics / 5332 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  2.5 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sample.eng.ohio-state.edu!purdue!mentor.cc.purdue.edu!nova.cc.purdue.edu
  2. From: ab@nova.cc.purdue.edu (Allen B)
  3. Newsgroups: comp.sys.amiga.graphics
  4. Subject: Re: Point Sizes
  5. Message-ID: <55217@mentor.cc.purdue.edu>
  6. Date: 27 Jul 92 19:00:22 GMT
  7. References: <James_Hastings-Trew.0hws@telepro.UUCP>
  8. Sender: news@mentor.cc.purdue.edu
  9. Lines: 64
  10.  
  11. In article <James_Hastings-Trew.0hws@telepro.UUCP>  
  12. James_Hastings-Trew@telepro.UUCP (James Hastings-Trew) writes:
  13. > I do have one question -- how in the hell is a typesetter supposed to
  14. > measure these fonts and come up with the proper point size. A common
  15. > typesetting task is to be given a sample of type and have to set some new
  16. > type to replace the old. With Adobe making these fonts at all sizes, how
  17. > the heck is a typesetter supposed to measure the old type to know what
  18. > point size to set the new type in? Whacky...
  19.  
  20. I don't know.  I always wing it.  I field a lot of PostScript
  21. questions here, and that's one I've not figured out.  The
  22. afm file will tell you enough to figure it out, but it
  23. varies among fonts.  Maybe we should consult our friends
  24. in comp.lang.postscript? 
  25.  
  26. The old Amiga bitmapped fonts were measured in pixels. 
  27. How do the Compugraphic ones fare?  I haven't played with
  28. them much. 
  29.  
  30. > What other fonts do you have on your NeXT? I have severa Adobe fonts on my
  31. > Amiga, so I will use your test file as a basis and test some other fonts to
  32. > see if perhaps Times and Courier are the exceptions that prove the rule...
  33.  
  34. Those are all the stock fonts on a NeXT (except Symbol).  I
  35. formatted the article so you could just click on it when
  36. read on a NeXT.  (The newsreader recognizes the PS-Adobe
  37. stuff.) 
  38.  
  39. I've got some other fonts, but most of them aren't from
  40. Adobe (they're ones available from ftp sites).  I could
  41. try them too, but I thought these'd be more definitive. 
  42.  
  43.  
  44. The 72 point Times-Roman 'E' is 48 points tall (following
  45. the 2/3 Rule).  If you change the program a little, you can
  46. add a guideline to make this clear.  I also made the
  47. pointsize a variable so you could change it.  The other
  48. numbers are still arbitrary, but this is just a hack:
  49.  
  50.  
  51. %!PS-Adobe-2.0
  52. %%Title: 2/3 box around PS E's
  53. %%Creator: Allen B
  54.  
  55. /PS 72 def    % Pointsize of letters
  56.  
  57. 0 setlinewidth
  58. 36 72 moveto
  59. 0 PS 2 mul 3 div dup neg 3 1 roll rlineto
  60. 7.5 72 mul 0 rlineto
  61. 0 exch rlineto
  62. closepath
  63. stroke        % 2/3 tall and very wide box
  64.  
  65. 72 72 moveto
  66. /Helvetica findfont PS scalefont setfont
  67. (E) show
  68. /Times-Roman findfont PS scalefont setfont
  69. (E) show
  70. /Courier findfont PS scalefont setfont
  71. (E) show
  72.  
  73. showpage
  74.