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>
14 #include <fontconfig/fontconfig.h>
24 error ("FontConfig failed to initialize");
27 char const **dirs = prefix_directories;
30 String path = String (*dirs) + "/" + "otf";
32 if (!FcConfigAppFontAddDir (0, (FcChar8*)path.to_str0 ()))
34 error (_f ("Failed to add lilypond directory %s", path.to_str0 ()));
41 void init_fontconfig() {}