]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/text-metrics.cc
*** empty log message ***
[lilypond.git] / lily / text-metrics.cc
index 89dbfbd1cbfe34468206384b15fd1a7b603e5439..dbeafffef631a2dad88362e37d68d9150f8aa1af 100644 (file)
@@ -19,7 +19,7 @@ lookup_tex_text_dimension (Font_metric *font, SCM text)
   Box b;
 
   SCM limit = ly_lily_module_constant ("TEX_STRING_HASHLIMIT");
-  String key_str = ly_scm2string (font->font_file_name ());
+  std::string key_str = ly_scm2string (font->font_file_name ());
   int hash_code = scm_to_int (scm_hash (text, limit));
   key_str = to_string (hash_code) + key_str;
 
@@ -70,12 +70,12 @@ LY_DEFINE (ly_load_text_dimensions, "ly:load-text-dimensions",
 }
 
 void
-try_load_text_metrics (String basename)
+try_load_text_metrics (std::string basename)
 {
-  String path = global_path.find (basename + ".textmetrics");
+  std::string path = global_path.find (basename + ".textmetrics");
   if (path != "")
     {
-      String contents (gulp_file_to_string (path, true, -1));
+      std::string contents (gulp_file_to_string (path, true, -1));
       contents = "(quote (" + contents + "))";
 
       SCM lst = scm_c_eval_string (contents.c_str ());