diff options
author | Karl Berry <karl@freefriends.org> | 2008-12-09 17:48:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-12-09 17:48:38 +0000 |
commit | 8cb97eed37c55304b594dbb55b3ad549586800f1 (patch) | |
tree | e416c4c2da16a9a7224c268b16c05c90529e786e /Master/texmf-dist/fonts/source | |
parent | b169b506291af730dc8bfc50d65284c8898ff6b6 (diff) |
new font pigpen 0.2 (7dec08)
git-svn-id: svn://tug.org/texlive/trunk@11565 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/fonts/source')
-rw-r--r-- | Master/texmf-dist/fonts/source/public/pigpen/pigpen.mf | 282 |
1 files changed, 282 insertions, 0 deletions
diff --git a/Master/texmf-dist/fonts/source/public/pigpen/pigpen.mf b/Master/texmf-dist/fonts/source/public/pigpen/pigpen.mf new file mode 100644 index 00000000000..d939f19f4b2 --- /dev/null +++ b/Master/texmf-dist/fonts/source/public/pigpen/pigpen.mf @@ -0,0 +1,282 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%% The Pigpen Cipher Font. +%%%%% +%%%%% Inspired by a discussion in comp.text.tex, December 2008 +%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%% (c) Oliver Corff, Berlin/Beijing/Ulaanbaatar 2008. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +mode_setup; + if unknown mag: mag := 1; fi; + mg:=1; + width#:=mg*12pt#; + height#:=mg*12pt#; + depth#:=mg*0pt#; + + thick#:=mg*1.5pt#; + thin#:=mg*1.00pt#; + + define_pixels(height,depth,width); + define_blacker_pixels(thin,thick); + + oben:=10/12height; + unten:=2/12height; + links:=2/12width; + rechts:=10/12width; + hm:=1/2width; + vm:=6/12height; + + font_size 12pt#; + font_normal_space 3/8width#; + font_x_height height#; + font_quad width#; + font_extra_space 3/8width#; + +def roundpen = % Basic pen definition + pickup pencircle scaled 0.9 thin +enddef; + +def dotted = + % numeric x[]; numeric y[]; + z9=(1/2width,1/2height-2/8thin); + z10=(1/2width,1/2height+2/8thin); + pickup pencircle scaled 0.55 thin; + % roundpen; + draw (z9..z10..cycle); + numeric x[]; numeric y[]; +enddef; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("A", width#,height#,depth#); + lft bot z2=(links,unten); + rt bot z3=(rechts,unten); + top z4=(rechts,oben); + roundpen; + draw z2--z3--z4; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("B", width#,height#,depth#); + lft top z1=(links,oben); + lft bot z2=(links,unten); + rt bot z3=(rechts,unten); + rt top z4=(rechts,oben); + roundpen; + draw z1--z2--z3--z4; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("C", width#,height#,depth#); + lft top z1=(links,oben); + lft bot z2=(links,unten); + rt bot z3=(rechts,unten); + roundpen; + draw z1--z2--z3; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("D", width#,height#,depth#); + lft top z1=(links,oben); + lft bot z2=(links,unten); + rt bot z3=(rechts,unten); + rt top z4=(rechts,oben); + roundpen; + draw z2--z3--z4--z1; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("E", width#,height#,depth#); + lft top z1=(links,oben); + lft bot z2=(links,unten); + rt bot z3=(rechts,unten); + rt top z4=(rechts,oben); + roundpen; + draw z1--z2--z3--z4--cycle; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("F", width#,height#,depth#); + lft top z1=(links,oben); + lft bot z2=(links,unten); + rt bot z3=(rechts,unten); + rt top z4=(rechts,oben); + roundpen; + draw z4--z1--z2--z3; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("G", width#,height#,depth#); + lft top z1=(links,oben); + rt bot z3=(rechts,unten); + rt top z4=(rechts,oben); + roundpen; + draw z1--z4--z3; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("H", width#,height#,depth#); + lft top z1=(links,oben); + lft bot z2=(links,unten); + rt bot z3=(rechts,unten); + rt top z4=(rechts,oben); + roundpen; + draw z2--z1--z4--z3; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("I", width#,height#,depth#); + lft top z1=(links,oben); + lft bot z2=(links,unten); + rt top z4=(rechts,oben); + roundpen; + draw z2--z1--z4; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("J", width#,height#,depth#); + lft bot z2=(links,unten); + rt bot z3=(rechts,unten); + rt top z4=(rechts,oben); + roundpen; + draw z2--z3--z4; + dotted; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("K", width#,height#,depth#); + lft top z1=(links,oben); + lft bot z2=(links,unten); + rt bot z3=(rechts,unten); + rt top z4=(rechts,oben); + roundpen; + draw z1--z2--z3--z4; + dotted; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("L", width#,height#,depth#); + lft top z1=(links,oben); + lft bot z2=(links,unten); + rt bot z3=(rechts,unten); + roundpen; + draw z1--z2--z3; + dotted; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("M", width#,height#,depth#); + lft top z1=(links,oben); + lft bot z2=(links,unten); + rt bot z3=(rechts,unten); + rt top z4=(rechts,oben); + roundpen; + draw z2--z3--z4--z1; + dotted; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("N", width#,height#,depth#); + lft top z1=(links,oben); + lft bot z2=(links,unten); + rt bot z3=(rechts,unten); + rt top z4=(rechts,oben); + roundpen; + draw z1--z2--z3--z4--cycle; + dotted; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("O", width#,height#,depth#); + lft top z1=(links,oben); + lft bot z2=(links,unten); + rt bot z3=(rechts,unten); + rt top z4=(rechts,oben); + roundpen; + draw z4--z1--z2--z3; + dotted; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("P", width#,height#,depth#); + lft top z1=(links,oben); + rt bot z3=(rechts,unten); + rt top z4=(rechts,oben); + roundpen; + draw z1--z4--z3; + dotted; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("Q", width#,height#,depth#); + lft top z1=(links,oben); + lft bot z2=(links,unten); + rt bot z3=(rechts,unten); + rt top z4=(rechts,oben); + roundpen; + draw z2--z1--z4--z3; + dotted; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("R", width#,height#,depth#); + lft top z1=(links,oben); + lft bot z2=(links,unten); + rt top z4=(rechts,oben); + roundpen; + draw z2--z1--z4; + dotted; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("S", width#,height#,depth#); + lft top z1=(links,oben); + rt top z4=(rechts,oben); + bot z6=(1/2width,unten); + roundpen; + draw z1--z6--z4; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("T", width#,height#,depth#); + lft top z1=(links,oben); + lft bot z2=(links,unten); + rt z7=(rechts,1/2height); + roundpen; + draw z1--z7--z2; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("U", width#,height#,depth#); + rt bot z3=(rechts,unten); + rt top z4=(rechts,oben); + lft z5=(links,1/2height); + roundpen; + draw z3--z5--z4; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("V", width#,height#,depth#); + lft bot z2=(links,unten); + rt bot z3=(rechts,unten); + top z8=(1/2width,oben); + roundpen; + draw z2--z8--z3; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("W", width#,height#,depth#); + lft top z1=(links,oben); + rt top z4=(rechts,oben); + bot z6=(1/2width,unten); + roundpen; + draw z1--z6--z4; + dotted; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("X", width#,height#,depth#); + lft top z1=(links,oben); + lft bot z2=(links,unten); + rt z7=(rechts,1/2height); + roundpen; + draw z1--z7--z2; + dotted; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("Y", width#,height#,depth#); + rt bot z3=(rechts,unten); + rt top z4=(rechts,oben); + lft z5=(links,1/2height); + roundpen; + draw z3--z5--z4; + dotted; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +beginchar("Z", width#,height#,depth#); + lft bot z2=(links,unten); + rt bot z3=(rechts,unten); + top z8=(1/2width,oben); + roundpen; + draw z2--z8--z3; + dotted; +endchar; +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +end. |