summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/metapost/featpost/example/directfonts.mp
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-04-16 22:46:29 +0000
committerKarl Berry <karl@freefriends.org>2012-04-16 22:46:29 +0000
commit76e16dc8afcc19ccbb1cc66be529411dfe41ce6e (patch)
tree5e79f4db9f36c7e53887264b98bf3b33d41daa5f /Master/texmf-dist/doc/metapost/featpost/example/directfonts.mp
parent9d51929278483d4f1cbfe10dee38085f3ca4811c (diff)
featpost (16apr12)
git-svn-id: svn://tug.org/texlive/trunk@25991 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/metapost/featpost/example/directfonts.mp')
-rw-r--r--Master/texmf-dist/doc/metapost/featpost/example/directfonts.mp20
1 files changed, 20 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/metapost/featpost/example/directfonts.mp b/Master/texmf-dist/doc/metapost/featpost/example/directfonts.mp
new file mode 100644
index 00000000000..975aa905e5d
--- /dev/null
+++ b/Master/texmf-dist/doc/metapost/featpost/example/directfonts.mp
@@ -0,0 +1,20 @@
+% directfonts.mp
+% Check out /usr/share/texmf/fonts/tfm/public/
+% or /usr/TeX/texmf/fonts/tfm/public
+
+prologues := 3;
+
+beginfig(0);
+ numeric xCoord;
+ xCoord = 3in;
+ defaultfont := "bchr8r";
+ label( "QWERTYUIOPasdfghjklZXCVBNM", (xCoord, 4cm) );
+ label( "What gives?", (xCoord, 3cm) );
+ defaultfont := "cmss17";
+ label( "0.123,456,789", (xCoord, 2cm) );
+% defaultfont := "fplmr";
+% label( "áéíóúàèìòùãõçÁÉÍÓÚÀÈÌÒÙÃÕÇ°", (xCoord, 0) );
+endfig;
+
+end;
+