diff options
author | Karl Berry <karl@freefriends.org> | 2009-09-09 23:49:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-09-09 23:49:29 +0000 |
commit | 6b6cdb5a62b8daaafcfd6a7fbea94c0510a2765c (patch) | |
tree | d4115068d3a639db97c6838cfda1ccace4ee919b /Master/texmf-dist/fonts/source/public/niceframe/umrand.mf | |
parent | 2888e7fbb9e303365f43f648b7dbaa9a8c91c2bc (diff) |
install niceframe, LPPL now (9sep)
git-svn-id: svn://tug.org/texlive/trunk@15193 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/fonts/source/public/niceframe/umrand.mf')
-rw-r--r-- | Master/texmf-dist/fonts/source/public/niceframe/umrand.mf | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/Master/texmf-dist/fonts/source/public/niceframe/umrand.mf b/Master/texmf-dist/fonts/source/public/niceframe/umrand.mf new file mode 100644 index 00000000000..e32467aef34 --- /dev/null +++ b/Master/texmf-dist/fonts/source/public/niceframe/umrand.mf @@ -0,0 +1,66 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% The MF-macros of the border-project % +% This file has version number 1.2. % +% 19.06.1993 % +% (c) by Andreas Schrell, Wuppertal % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +mode_setup; + +penwi# := 0.1pt#; +penwid# := 0.2pt#; +penwidd# := 0.6pt#; + +charsize# := 10pt#; + +font_size charsize#; +font_x_height charsize#; +font_quad charsize#; +font_normal_space 0pt#; +font_normal_shrink 0pt#; +font_normal_stretch 0pt#; + +normw# := charsize#; +normh# := charsize#; +define_pixels(normw,normh); + +def ow = hround(xscal*normw) enddef; +def oh = vround(normh) enddef; + +xscal:=1; + +define_blacker_pixels(penwi,penwid,penwidd); penwidow := penwid; + +if unknown write_white_engine: + boolean write_white_engine; + write_white_engine := false; +fi +if write_white_engine: + % for penwi its ok to become 1 pixel width, but... + penwid := max(penwid,2); + penwidd := max(penwidd,3); +fi; + +def sec(expr n) = + u := (w/n); + v := (h/n); +enddef; + +def CenterRotation(expr W,r) = + ((r) shifted (-.5ow,-.5oh) rotated W shifted (.5w,.5h)) +enddef; + +def CenterRot(expr W) = + currenttransform := identity + shifted (-.5ow,-.5oh) rotated W shifted (.5w,.5h) +enddef; + + + +def CenterMirror(expr xs,ys,r) = + ((r) shifted (-.5ow,-.5oh) xscaled (xs) yscaled (ys) shifted (.5ow,.5oh)) +enddef; + +endinput + +
\ No newline at end of file |