summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-07-13 23:16:34 +0000
committerKarl Berry <karl@freefriends.org>2012-07-13 23:16:34 +0000
commit50b580f0458334eb21a6441d314893e79dc206ea (patch)
tree0ef5400ed6ef09591514cd03f4d12015901f5a7b /Master/texmf-dist
parent2eb41d2379e42e342dfb2f41b38f85358a2cf53d (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')
-rw-r--r--Master/texmf-dist/doc/support/mf2pt1/ChangeLog17
-rw-r--r--Master/texmf-dist/doc/support/mf2pt1/mf2pt1.pdfbin201816 -> 205723 bytes
-rw-r--r--Master/texmf-dist/doc/support/mf2pt1/mf2pt1.texi10
-rw-r--r--Master/texmf-dist/metapost/mf2pt1/mf2pt1.mp2
-rwxr-xr-xMaster/texmf-dist/scripts/mf2pt1/mf2pt1.pl4
5 files changed, 26 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/support/mf2pt1/ChangeLog b/Master/texmf-dist/doc/support/mf2pt1/ChangeLog
index f2148d43bce..48ddcc20083 100644
--- a/Master/texmf-dist/doc/support/mf2pt1/ChangeLog
+++ b/Master/texmf-dist/doc/support/mf2pt1/ChangeLog
@@ -1,3 +1,20 @@
+2012-06-29 Scott Pakin <scott+mf@pakin.org>
+
+ * mf2pt1.texi, mf2pt1.pl
+ Increased the version number from 2.4.6 to 2.5. Updated the
+ Acknowledgments section.
+
+2012-06-29 Michael Ummels <michael@ummels.de>
+
+ * mf2pt1.mp:
+ Made the to_bp function round to nearest rather than round up.
+
+2012-06-29 Michael Ummels <michael@ummels.de>
+
+ * mf2pt1.pl:
+ Changed the computation of character widths to use TeX points
+ instead of PostScript points.
+
2012-03-24 Scott Pakin <scott+mf@pakin.org>
* README, mf2pt1.pl, mf2pt1.texi, mf2pt1.mp:
diff --git a/Master/texmf-dist/doc/support/mf2pt1/mf2pt1.pdf b/Master/texmf-dist/doc/support/mf2pt1/mf2pt1.pdf
index f6d9c1c7c93..41dbe28d1c3 100644
--- a/Master/texmf-dist/doc/support/mf2pt1/mf2pt1.pdf
+++ b/Master/texmf-dist/doc/support/mf2pt1/mf2pt1.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/support/mf2pt1/mf2pt1.texi b/Master/texmf-dist/doc/support/mf2pt1/mf2pt1.texi
index 15d7239748b..0c1276920c0 100644
--- a/Master/texmf-dist/doc/support/mf2pt1/mf2pt1.texi
+++ b/Master/texmf-dist/doc/support/mf2pt1/mf2pt1.texi
@@ -10,8 +10,8 @@
@finalout
@c %**end of header
-@set VERSION 2.4.6
-@set DATE 24 March 2012
+@set VERSION 2.5
+@set DATE 29 June 2012
@c Format the document with a ragged bottom instead of the default
@c flush bottom.
@@ -977,8 +977,10 @@ Jackowski for updating the @strong{is_clockwise} function in
@file{mf2pt1.mp} to work around a bug in MetaPost which relates to the
@strong{turningnumber} command. Finally, thanks go to Ralf Stubner
for providing the T1 encoding vector and for pointing out a typo in
-the generated font programs; and, to Michael Zedler for alerting me to
+the generated font programs; to Michael Zedler for alerting me to
problems with @copt{encoding} and suggesting I modify that option to
-accept PostScript @file{.enc} files.
+accept PostScript @file{.enc} files; and to Michael Ummels for fixing
+a couple of bugs that made character widths in the generated fonts
+slightly too large.
@bye
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_;
diff --git a/Master/texmf-dist/scripts/mf2pt1/mf2pt1.pl b/Master/texmf-dist/scripts/mf2pt1/mf2pt1.pl
index e18d7a7ae57..ad3df2cdf84 100755
--- a/Master/texmf-dist/scripts/mf2pt1/mf2pt1.pl
+++ b/Master/texmf-dist/scripts/mf2pt1/mf2pt1.pl
@@ -21,7 +21,7 @@
# version 2006/05/20 or later. #
########################################################################
-our $VERSION = "2.4.6"; # mf2pt1 version number
+our $VERSION = "2.5"; # mf2pt1 version number
require 5.6.1; # I haven't tested mf2pt1 with older Perl versions
use File::Basename;
@@ -588,7 +588,7 @@ sub output_font_programs ()
my @fontprog;
push @fontprog, ("/$gname {",
frac_string (frac_approx ($charbbox[$charnum]->[0]),
- frac_approx ($charwd[$charnum] * $mag))
+ frac_approx ($charbbox[$charnum]->[2]))
. "hsbw");
my ($cpx, $cpy) =
($charbbox[$charnum]->[0], 0); # Current point (PostScript)