lilypond-1.3.154
authorfred <fred>
Wed, 27 Mar 2002 01:01:47 +0000 (01:01 +0000)
committerfred <fred>
Wed, 27 Mar 2002 01:01:47 +0000 (01:01 +0000)
lily/all-font-metrics.cc
lily/grob.cc
lily/include/kpath.hh

index 72003d663eae05785881c332e30d09f480abe54c..6d728efd0a2dcc90084c6551bdecc75cbf8366b9 100644 (file)
@@ -123,8 +123,8 @@ All_font_metrics::find_tfm (String name)
       
       if (path.empty_b ())
        {
-         char * p = ly_find_tfm (name.ch_C ());
-         if (p)
+         String p = ly_find_tfm (name.ch_C ());
+         if (p.length_i ())
            path = p;
        }
 
index 98f0601722fb5589381a9d97f49786b65e524633..db504faa814e9d4a371417d63ad2eae0e79bde4c 100644 (file)
@@ -295,8 +295,6 @@ Grob::get_uncached_molecule ()const
 
       m = unsmob_molecule (mol);
     }
-
-
   
   /*
     transparent retains dimensions of element.
index e6b0f54398a66aad747ca0351061a900af5bb71c..accc1f610a3f444c6aae8d1f878e1fa40cac42f2 100644 (file)
@@ -13,7 +13,7 @@ source file of the GNU LilyPond music typesetter
 
 
 char * ly_find_afm (char const * name);
-char * ly_find_tfm (char const * name);
+String ly_find_tfm (char const * name);
 void ly_init_kpath (char *av0);