2009/11/13

PostScript CharactorOutlines, load, charpath

9.4-CharacterOutline.ps

% --- variables ------------------------
/font-size 45 def
/Helvetica-Bold findfont font-size scalefont setfont
/message (9LISP) def
/title (Kyushu.lisp@KPF) def

% --- procedures -----------------------
/oshow {
    true charpath stroke
} def

/circleofString {
    /angle exch def
    /slope exch def
    /show-proc exch def
    /show-proc load

    15 angle 345 {
        gsave
        rotate
        slope 0 moveto
        message show-proc
        grestore
    } for
} def

/draw-title {
    0 0 moveto
    title true charpath
    gsave
    1 setgray fill
    grestore
} def

% --- main -----------------------------
165 600 translate
.5 setlinewidth

{ show } 30 45 circleofString

draw-title
stroke

0 -400 translate
.5 setlinewidth

{ oshow } 10 13 circleofString

draw-title
stroke

showpage

 

PostScript(R) Language Tutorial and Cookbook (APL)

PostScript(R) Language Tutorial and Cookbook (APL)

posted with amazlet at 09.10.07

Adobe Systems Inc.
Addison-Wesley Professional
売り上げランキング: 235737

おすすめ度の平均: 5.0

5 まず最初に読むべき入門書
5 効率の良いPostScript書くなら…

Amazon.co.jp で詳細を見る

0 件のコメント:

コメントを投稿