lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

buglet in mf2pt1 2.4.4


From: Werner LEMBERG
Subject: buglet in mf2pt1 2.4.4
Date: Mon, 01 Aug 2011 00:05:35 +0200 (CEST)

Scott,


the patch below is needed to avoid a non-integer argument to hsbw in
the definition of `.notdef'.  LilyPond produces such fonts
(e.g. feta-braces-a), causing the following two warnings:

  t1asm: unknown charstring command `91.60803'
  fontforge: Stack underflow on hsbw in .notdef

[Note to LilyPonders: This problem is harmless and can be completely
 ignored.]


    Werner


======================================================================


--- mf2pt1.old  2008-01-28 05:41:00.000000000 +0100
+++ mf2pt1      2011-07-31 23:54:51.000000000 +0200
@@ -726,7 +726,7 @@
 {
     print OUTFILE <<"ENDTRAILER";
 /.notdef {
-        0 @{[$fontbbox[2]-$fontbbox[0]]} hsbw
+        0 @{[frac_string (frac_approx ($fontbbox[2] - $fontbbox[0]))]}hsbw
         endchar
         } ND
 end



reply via email to

[Prev in Thread] Current Thread [Next in Thread]