summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/metafont/misc/mode2dpi.mf
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-12 23:43:37 +0000
committerKarl Berry <karl@freefriends.org>2006-01-12 23:43:37 +0000
commit9199479b7f615c58da260c7ded57b63aed5cf799 (patch)
tree2a9a4068b7a757edd5db10b94946b6c90404b4d6 /Master/texmf-dist/metafont/misc/mode2dpi.mf
parent2828582f70c71954ec767bead50118e55e23ceae (diff)
trunk/Master/texmf-dist/metafont
git-svn-id: svn://tug.org/texlive/trunk@604 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/metafont/misc/mode2dpi.mf')
-rw-r--r--Master/texmf-dist/metafont/misc/mode2dpi.mf9
1 files changed, 9 insertions, 0 deletions
diff --git a/Master/texmf-dist/metafont/misc/mode2dpi.mf b/Master/texmf-dist/metafont/misc/mode2dpi.mf
new file mode 100644
index 00000000000..9ac21940cfb
--- /dev/null
+++ b/Master/texmf-dist/metafont/misc/mode2dpi.mf
@@ -0,0 +1,9 @@
+% Usage: mf '\mode=what_ever_mode; \input mode2dpi'
+
+let myexit = primitive_end_;
+mode_setup;
+string dpi;
+dpi := decimal round pixels_per_inch;
+message "DPI = " & dpi;
+fontmaking := 0;
+myexit;