]> git.donarmstrong.com Git - lilypond.git/commitdiff
(out_filename): fix thinko with \version.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 26 Apr 2005 14:04:15 +0000 (14:04 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 26 Apr 2005 14:04:15 +0000 (14:04 +0000)
ChangeLog
lily/all-font-metrics.cc
lily/font-config.cc
scripts/abc2ly.py

index 70d601fc68c064b7e96d35b727fd43a6fd176ba3..2c06cc170a58c12e86fa1e29c54eeccafdc68543 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-26  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * scripts/abc2ly.py (out_filename): fix thinko with \version.
+
 2005-04-26  Graham Percival  <gperlist@shaw.ca>
 
        * Documentation/user/basic-notation.itely,
index 2b3db1bc0993f2399bacaa880b3b80b0cc6178e3..9ccc1f78ed6087ba1d15ab53c236e3e90010f25b 100644 (file)
@@ -68,14 +68,14 @@ All_font_metrics::find_pango_font (PangoFontDescription *description,
                                   gint (magnification *
                                         pango_font_description_get_size (description)));
 
-  gchar *fn = pango_font_description_to_filename (description);
-  SCM key = ly_symbol2scm (fn);
+  gchar *pango_fn = pango_font_description_to_filename (description);
+  SCM key = ly_symbol2scm (pango_fn);
 
   SCM val;
   if (!pango_dict_->try_retrieve (key, &val))
     {
-      if (be_verbose_global)
-       progress_indication ("[" + String (fn));
+      progress_indication ("[" + String (pango_fn));
+      
       Pango_font *pf = new Pango_font (pango_ft2_fontmap_,
                                       RIGHT,
                                       description,
@@ -90,7 +90,7 @@ All_font_metrics::find_pango_font (PangoFontDescription *description,
       pf->description_ = scm_cons (SCM_BOOL_F,
                                   scm_make_real (1.0));
     }
-  g_free (fn);
+  g_free (pango_fn);
   return dynamic_cast<Pango_font *> (unsmob_metrics (val));
 }
 
index b9ba8b41a3cfc9714dd18d3b0f2a141d62171d1d..bed5bfdc10096bf43e9c366248b1f7bb01a3797f 100644 (file)
@@ -44,7 +44,7 @@ init_fontconfig ()
     {
       String dir = dirs[i];
       if (!FcConfigAppFontAddDir (fcc, (FcChar8 *)dir.to_str0 ()))
-       error (_f ("adding lilypond directory: %s", dir.to_str0 ()));
+       error (_f ("adding font directory: %s", dir.to_str0 ()));
       else if (be_verbose_global)
        message (_f ("adding font directory: %s", dir.to_str0 ()));
     }
@@ -58,5 +58,7 @@ init_fontconfig ()
 void
 init_fontconfig ()
 {
+  
 }
+
 #endif
index 7f7a24116954b88acd90627f802da3b7719c3892..09dc7b27cea30a9201518f1898839c8e66a0a5e6 100644 (file)
@@ -1393,7 +1393,7 @@ for f in files:
 
 # don't substitute @VERSION@. We want this to reflect
 # the last version that was verified to work.
-       outf.write ('\\version "2.5.20"\n' % version)
+       outf.write ('\\version "2.5.20"\n')
 
 #      dump_global (outf)
        dump_header (outf, header)