2 font-config.cc -- implement Font_config related functions
4 source file of the GNU LilyPond music typesetter
6 (c) 2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
13 #include <fontconfig/fontconfig.h>
23 error ("FontConfig failed to initialize");
26 char const **dirs = prefix_directories;
29 String path = String (*dirs) + "/" + "otf";
31 if (!FcConfigAppFontAddDir (0, (FcChar8*)path.to_str0 ()))
33 error (_f ("Failed to add lilypond directory %s", path.to_str0 ()));
40 void init_fontconfig() {}