home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8638 < prev    next >
Encoding:
Text File  |  1992-08-19  |  1.2 KB  |  30 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!snorkelwacker.mit.edu!bloom-picayune.mit.edu!root
  3. From: jbm@cyclone.sbi.com (Jeffrey B. Moore)
  4. Subject: Re: Logo in hand-hacked PostScript
  5. Message-ID: <1992Aug19.180149.6353@athena.mit.edu>
  6. Sender: root@athena.mit.edu (System PRIVILEGED Account)
  7. Reply-To: jbm@cyclone.sbi.com (Jeffrey B. Moore)
  8. Organization: The Internet
  9. Date: Wed, 19 Aug 1992 18:01:49 GMT
  10. Lines: 18
  11.  
  12. [...]
  13. | The "hand-hacked" version from jbm is a lot smaller, but it's missing
  14. | the nice gradient on the blue background.
  15.  
  16. Take a look at the code.  See the line which reads:
  17.     /llDoGradient false def     % Do funky shading of triangle?
  18.  
  19. Try changing `false' to `true'.  I have the gradient behavior turned
  20. off by default b/c I don't trust the previewer I tested against, and
  21. this may look odd; but I'd love to hear how it actually looks on a
  22. real color PostScript device.  The `from' and `to' blues of the
  23. gradient (and the red of the cross-bar) can be tuned by tweaking the
  24. lines:
  25.     /llTriangleTopRGB { 0.96 0.95 1.0 } def    % These are guesses because...
  26.     /llTriangleBottomRGB { 0.4 0.3 0.75 } def    % ...I'm not sure about my test...
  27.     /llBarRGB { 0.8 0.0 0.5 } def        % ...output device.
  28.     
  29. -Jeff (jbm@sbi.com)
  30.