summaryrefslogtreecommitdiff
path: root/language/telugu/mffiles/telspa.mf
blob: f49a2e145c2a67f806796c83a25e238806c6f4a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
%telspa%
% genarates characters with stripes
input telmode;
font_size 72pt#;
slant:=0;
pen_width#:=3.2pt#;
% Following code(with minor modifications) is taken from the article,  
% The ABC's of Special Effects by Georgia K. M. Tobin,
% that appeared in TUGboat, Volume 9(1988), No. 1
vardef special_effects=
% creates characters filled with stripes.
    cullit;
    picture Normalchar;
         Normalchar:=currentpicture;
    clearit;
% Depending on the output device, pen size(0.28pt) may need to be
% changed.
    pickup pencircle scaled 0.28pt; 
    filldraw (0,-d)--(w,-d)--
         (w,h)--(0,h)--cycle;
    picture Blackbox;
         Blackbox:=currentpicture;
    picture Reversevideo;
         Reversevideo:=Blackbox-Normalchar;
    clearit;
% Depending on the output device,stepsize(uh/3) may need to be
% changed.
    for f=-d step uh/3 until h:
      draw(0,f)--(w,f);
    endfor;
    picture Stripeoverlay;
         Stripeoverlay:=currentpicture;
    currentpicture:=Stripeoverlay-Reversevideo;
enddef;
input telparam;  
%%