From: Han-Wen Nienhuys Date: Tue, 7 Nov 2006 18:05:55 +0000 (+0100) Subject: excise cmr10 X-Git-Tag: release/2.10.0-2~31^2~3 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f07e463e75103efcf6b0414a01e759bff5f8fb55;p=lilypond.git excise cmr10 --- diff --git a/lily/all-font-metrics.cc b/lily/all-font-metrics.cc index 4159cd5a32..4d95f9e6c1 100644 --- a/lily/all-font-metrics.cc +++ b/lily/all-font-metrics.cc @@ -15,8 +15,6 @@ #include "scm-hash.hh" #include "warn.hh" -static char const *default_font_str0_ = "cmr10"; - All_font_metrics::All_font_metrics (string path) { otf_dict_ = new Scheme_hash_table; @@ -158,20 +156,9 @@ All_font_metrics::find_font (string name) { Font_metric *f = find_otf (name); - - if (!f) - { - warning (_f ("can't find font: `%s'", name.c_str ())); - warning (_ ("loading default font")); - } - - string def_name = default_font_str0_; - if (!f) { - error (_f ("can't find default font: `%s'", def_name.c_str ())); - error (_f ("(search path: `%s')", search_path_.to_string ())); - error (_ ("giving up")); + error (_f ("can't find font: `%s'", name.c_str ())); } return f;