Graustufenverlauf in Outline-Font


%!PS-Adobe-1.0
%%Creator: Holger Gehringer
%%Title: Beispiel fuer Graustufenverlaeufe im Outline-Font
%%CreationDate: Mo, 23.11.1998
%%DocumentMedia: A4 595 842 0 () ()
%%Orientation: Portrait
%%Pages: (atend)
%%DocumentFonts: Times-Roman Helvetica
%%EndComments

/LM 130 def
/TM 600 def
/HM  90 def
/KM  HM 20 add def

/Daten 256 string def

/pattern
{ /Ausgabe
  { gsave
      translate scale
      image
    grestore
  } bind def

  0 1 255
  { Daten exch dup put }
  bind for

  1 256 8 [1 0 0 256 0 0]
  { Daten }
  4 { 8 index } repeat
  Ausgabe
  4 { pop } repeat
} def

%%EndProlog

%%Page: 1 1

gsave
  900 800 translate
  170 rotate
  1000 1000 0 0 pattern
grestore

0.2 setlinewidth
/Times-BoldItalic findfont HM scalefont setfont

gsave
  LM TM translate
  5 rotate
  newpath 0 0 moveto
  (Thinking in) true charpath clip
  (Thinking in) stringwidth pop KM 0 -20 pattern
  0 0 moveto
  (Thinking in) true charpath stroke
grestore

newpath
-10 rotate
LM TM 200 sub translate
newpath 0 0 moveto
(PostScript) true charpath clip
(PostScript) stringwidth pop KM 0 -20 pattern
0 0 moveto
(PostScript) true charpath stroke

showpage

%%Trailer
%%Pages: 1


Download PostScript-File

© Holger Gehringer, Dezember 1998