source file of the GNU LilyPond music typesetter
- (c) 2005--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ (c) 2005--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
*/
#include "config.hh"
vector<string> dirs;
- dirs.push_back (prefix_directory + "/fonts/otf/");
- dirs.push_back (prefix_directory + "/fonts/type1/");
+ /* Extra trailing slash suddenly breaks fontconfig (fc-cache 2.5.0)
+ on windows. */
+ dirs.push_back (lilypond_datadir + "/fonts/otf");
+ dirs.push_back (lilypond_datadir + "/fonts/type1");
for (vsize i = 0; i < dirs.size (); i++)
{