From 06fe3cd522be9392caa1ab78a4f01235f119dd8a Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Sat, 9 Apr 2005 10:20:31 +0000 Subject: [PATCH] (init_fontconfig): be verbose about font path. --- ChangeLog | 6 +++++- lily/font-config.cc | 8 ++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index bb959fa4e2..a0541412bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-04-09 Han-Wen Nienhuys + + * lily/font-config.cc (init_fontconfig): be verbose about font path. + 2005-04-08 Han-Wen Nienhuys * mf/feta-nummer-code.mf (code): add plus glyph. @@ -42,7 +46,7 @@ 2005-04-06 Han-Wen Nienhuys * scripts/lilypond-book.py (Lilypond_snippet.__init__): - only process options fi they're there. + only process options if they're there. (write_file_map): add version-seen? to snippet-map.ly 2005-04-06 Jan Nieuwenhuizen diff --git a/lily/font-config.cc b/lily/font-config.cc index eb8b4f80c0..3c564a2c9a 100644 --- a/lily/font-config.cc +++ b/lily/font-config.cc @@ -42,13 +42,17 @@ init_fontconfig () dirs.push (prefix_directory + "/fonts/type1/"); dirs.push (prefix_directory + "/fonts/cff/"); dirs.push (prefix_directory + "/fonts/svg/"); - } + } + + for (int i = 0; i < dirs.size (); i++) { String dir = dirs[i]; if (!FcConfigAppFontAddDir (fcc, (FcChar8 *)dir.to_str0 ())) - error (_f ("Failed to add lilypond directory %s", dir)); + error (_f ("Failed to add lilypond directory %s", dir.to_str0 ())); + else if (be_verbose_global_b) + progress_indication (_ ("Adding font directory %s", dir.to_str0 ())); } if (be_verbose_global) -- 2.39.2