]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/all-font-metrics.cc
patch::: 1.3.126.jcn3
[lilypond.git] / lily / all-font-metrics.cc
index 6d1fe1d95d356eb177b08828602083ffba50e390..0c22c59b6cbf3cbaca20862770053c7e40ff3e9c 100644 (file)
 #include "scm-hash.hh"
 #include "kpath.hh"
 
-
-
-
-
 const char * default_font_sz_ = "cmr10";
 
 All_font_metrics::All_font_metrics (String path)
@@ -85,8 +81,8 @@ All_font_metrics::find_afm (String name)
 
       if (tfm->info_.checksum != afm->checksum_)
        {
-         String s = _f ("checksum mismatch for font file: `%s'", path.ch_C ());
-         s += _f ("does not match: `%s'", tfm->path_.ch_C()); // FIXME
+         String s = _f ("checksum mismatch for font file:\n`%s'", path.ch_C ());
+         s += " " + _f ("does not match: `%s'", tfm->path_.ch_C()); // FIXME
          s += "\n";
          s += " TFM: " + to_str ((int) tfm->info_.checksum);
          s += " AFM: " + to_str ((int) afm->checksum_);
@@ -138,7 +134,7 @@ All_font_metrics::find_tfm (String name)
 
       scm_unprotect_object (val);
     }
-    
+
   return
     dynamic_cast<Tex_font_metric*> (unsmob_metrics (val));
 }