diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:43:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:43:37 +0000 |
commit | 9199479b7f615c58da260c7ded57b63aed5cf799 (patch) | |
tree | 2a9a4068b7a757edd5db10b94946b6c90404b4d6 /Master/texmf-dist/metafont/misc/mode2dpixy.mf | |
parent | 2828582f70c71954ec767bead50118e55e23ceae (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/mode2dpixy.mf')
-rw-r--r-- | Master/texmf-dist/metafont/misc/mode2dpixy.mf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Master/texmf-dist/metafont/misc/mode2dpixy.mf b/Master/texmf-dist/metafont/misc/mode2dpixy.mf new file mode 100644 index 00000000000..6a5a94abd75 --- /dev/null +++ b/Master/texmf-dist/metafont/misc/mode2dpixy.mf @@ -0,0 +1,12 @@ +% Usage: mf '\mode=what_ever_mode; \input mode2dpi' + +let myexit = primitive_end_; +mode_setup; +string xdpi; +xdpi := decimal round pixels_per_inch; +message "XDPI = " & xdpi; +string ydpi; +ydpi := decimal round (pixels_per_inch * aspect_ratio); +message "YDPI = " & ydpi; +fontmaking := 0; +myexit; |