home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / postscri / 5607 < prev    next >
Encoding:
Text File  |  1992-11-19  |  2.5 KB  |  49 lines

  1. Newsgroups: comp.lang.postscript
  2. Path: sparky!uunet!destroyer!ncar!csn!raven!rcd
  3. From: rcd@raven.eklektix.com (Dick Dunn)
  4. Subject: Re: Postscript Font Scaling & Reduction
  5. Message-ID: <1992Nov19.161508@eklektix.com>
  6. Organization: eklektix - Boulder, Colorado
  7. References: <1992Nov18.045514.4005@oucsace.cs.ohiou.edu> <1992Nov18.181137.25836@adobe.com> <4007@ecicrl.ocunix.on.ca>
  8. Date: Thu, 19 Nov 1992 16:15:08 GMT
  9. Lines: 38
  10.  
  11. clewis@ferret.ocunix.on.ca (Chris Lewis) writes:
  12. >delahunt@adobe.com (Jim DeLaHunt) writes:
  13. [metal type designs varied with size; phototypesetters linear]
  14. >>PostScript technology preserved this linear scaling.  The glyph outline
  15. >>is described in bezier curves, and the PostScript interpreter scales the
  16. >>outline linearly to the desired size...
  17. ...
  18. >I was under the impression that the "hints" allow the font machinery
  19. >to do adjustments based on target point size.  From my experiments, linear
  20. >font scaling doesn't look that great.
  21.  
  22. No, the hints are intended to help based on device resolution--they tell
  23. the font-scaling code how to behave when the characters get small relative
  24. to device resolution.  Examples of the hints:
  25.     - "Flex" says "mash this curve flat if the "flex height" (roughly,
  26.       the deviation from a straight line) is too small relative to the
  27.       device pixel size.
  28.     - "Stem width" hints say that when the size gets small enough that
  29.       a one-pixel difference in line width is noticeable, certain
  30.       widths should be made equal.
  31.     - "Alignment zones" describe how to adjust horizontal segments so
  32.       those which should be at the same height actually are, when you
  33.       get down to where a one-pixel difference matters.
  34. The point, again, is that they're all related to device resolution--they
  35. kick in at 600 dpi at half the point size they do at 300.  So they don't
  36. provide any help with the changes that should happen due to how our eyes
  37. perceive the characters (i.e., changes based on actual size, irrespec-
  38. tive of device resolution).
  39.  
  40. However, there are other effects that enter into apparent differences.  For
  41. example, the rule for what pixels to turn on says "any pixel that a stroke
  42. passes through.  This inherently darkens characters somewhat at small reso-
  43. lutions.  (It's possible to compensate for this somewhat, but if the
  44. correct width of a stroke is 0.5 pixel, your only choices are to make it
  45. twice as wide as it should be or discard it and let the stroke break up.)
  46. -- 
  47. Dick Dunn    rcd@raven.eklektix.com   -or-   raven!rcd    Boulder, Colorado
  48.     ...Simpler is better.
  49.