diff options
author | Karl Berry <karl@freefriends.org> | 2012-07-13 23:16:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-07-13 23:16:34 +0000 |
commit | 50b580f0458334eb21a6441d314893e79dc206ea (patch) | |
tree | 0ef5400ed6ef09591514cd03f4d12015901f5a7b /Master/texmf-dist/metapost | |
parent | 2eb41d2379e42e342dfb2f41b38f85358a2cf53d (diff) |
mf2pt1 2.5 (3jul12)
git-svn-id: svn://tug.org/texlive/trunk@27032 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/metapost')
-rw-r--r-- | Master/texmf-dist/metapost/mf2pt1/mf2pt1.mp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/metapost/mf2pt1/mf2pt1.mp b/Master/texmf-dist/metapost/mf2pt1/mf2pt1.mp index 3d3490fa2d1..bb6ceda5dc3 100644 --- a/Master/texmf-dist/metapost/mf2pt1/mf2pt1.mp +++ b/Master/texmf-dist/metapost/mf2pt1/mf2pt1.mp @@ -58,7 +58,7 @@ def beginchar(expr c,w_sharp,h_sharp,d_sharp) = w:=charwd*pt; h:=charht*pt; d:=chardp*pt; charic:=0; clearxy; clearit; clearpen; scantokens extra_beginchar; - def to_bp (expr num) = decimal (ceiling (num*bp_per_pixel)) enddef; + def to_bp (expr num) = decimal (round (num*bp_per_pixel)) enddef; special "% MF2PT1: glyph_dimensions 0 " & to_bp (-d) & " " & to_bp(w) & " " & to_bp(h); special "% MF2PT1: font_size " & decimal designsize; special "% MF2PT1: font_slant " & decimal font_slant_; |