From 58c9479cfbc546c0d758dfd8c8ce03998315a220 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Mon, 1 Aug 2011 00:11:41 +0200 Subject: [PATCH] mf2pt1: Fix buglet in creation of `.notdef'. This avoids the following two harmless warning messages: t1asm: unknown charstring command `91.60803' fontforge: Stack underflow on hsbw in .notdef --- scripts/build/mf2pt1.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build/mf2pt1.pl b/scripts/build/mf2pt1.pl index 95df0f8206..62463d3a3b 100644 --- a/scripts/build/mf2pt1.pl +++ b/scripts/build/mf2pt1.pl @@ -21,7 +21,7 @@ # version 2006/05/20 or later. # ######################################################################## -our $VERSION = "2.4.4"; # mf2pt1 version number +our $VERSION = "2.4.4-lilypond"; # mf2pt1 version number require 5.6.1; # I haven't tested mf2pt1 with older Perl versions use File::Basename; @@ -726,7 +726,7 @@ sub output_trailer () { print OUTFILE <<"ENDTRAILER"; /.notdef { - 0 @{[$fontbbox[2]-$fontbbox[0]]} hsbw + 0 @{[frac_string (frac_approx ($fontbbox[2] - $fontbbox[0]))]}hsbw endchar } ND end -- 2.39.2