53dae0d
diff -urN fontmatrix-0.9.99-Source.old/fontmatrix.1 fontmatrix-0.9.99-Source/fontmatrix.1
53dae0d
--- fontmatrix-0.9.99-Source.old/fontmatrix.1	2011-10-03 11:32:54.357203868 +0530
53dae0d
+++ fontmatrix-0.9.99-Source/fontmatrix.1	2013-01-08 21:27:30.704581547 +0530
53dae0d
@@ -53,10 +53,10 @@
53dae0d
 User preferences are stored in $HOME/.fontmatrix/ on Unix or Linux. Most other paths are configurable from the Fontmatrix preferences. 
53dae0d
 .B $HOME/.fonts/
53dae0d
 .TP 
53dae0d
-.B $HOME/.fonts.conf
53dae0d
+.B $HOME/.config/fontconfig/fonts.conf
53dae0d
 .TP 
53dae0d
 .B /etc/fonts
53dae0d
-Fontconfig, the library used by Fontmatrix to locate fonts, is normally configured with files in /etc/fonts, mainly /etc/fonts/fonts.conf and /etc/fonts/local.conf . It may also use a config file $HOME/.fonts.conf and fonts in $HOME/.fonts/ . See fonts.conf(5) and the fontconfig documentation for more information. Note that Fontmatrix may also use its internal font path to locate more fonts \- see the Preferences dialog and fontmatrix help.
53dae0d
+Fontconfig, the library used by Fontmatrix to locate fonts, is normally configured with files in /etc/fonts, mainly /etc/fonts/fonts.conf and /etc/fonts/local.conf . It may also use a config file $HOME/.config/fontconfig/fonts.conf and fonts in $HOME/.fonts/ . See fonts.conf(5) and the fontconfig documentation for more information. Note that Fontmatrix may also use its internal font path to locate more fonts \- see the Preferences dialog and fontmatrix help.
53dae0d
 .SH "RELATED SOFTWARE AND AFFILIATES"
53dae0d
 Scribus \- http://www.scribus.net
53dae0d
 
53dae0d
diff -urN fontmatrix-0.9.99-Source.old/src/fmactivate.cpp fontmatrix-0.9.99-Source/src/fmactivate.cpp
53dae0d
--- fontmatrix-0.9.99-Source.old/src/fmactivate.cpp	2011-10-03 11:32:54.428204383 +0530
53dae0d
+++ fontmatrix-0.9.99-Source/src/fmactivate.cpp	2013-01-08 20:58:56.616642198 +0530
53dae0d
@@ -285,7 +285,7 @@
53dae0d
 bool FMActivate::addFcReject(const QString & path)
53dae0d
 {
53dae0d
 #ifdef HAVE_FONTCONFIG
53dae0d
-	QFile fcfile ( QDir::homePath() + "/.fonts.conf" );
53dae0d
+	QFile fcfile ( QDir::homePath() + "/.config/fontconfig/fonts.conf" );
53dae0d
 	if ( !fcfile.open ( QFile::ReadWrite ) )
53dae0d
 	{
53dae0d
 		qWarning()<<"Cannot open"<< fcfile.fileName();
53dae0d
@@ -380,7 +380,7 @@
53dae0d
 bool FMActivate::remFcReject(const QString & path)
53dae0d
 {
53dae0d
 #ifdef HAVE_FONTCONFIG
53dae0d
-	QFile fcfile ( QDir::homePath() + "/.fonts.conf" );
53dae0d
+	QFile fcfile ( QDir::homePath() + "/.config/fontconfig/fonts.conf" );
53dae0d
 	if ( !fcfile.open ( QFile::ReadWrite ) )
53dae0d
 	{
53dae0d
 		return false;
53dae0d
diff -urN fontmatrix-0.9.99-Source.old/src/fmactivate.h fontmatrix-0.9.99-Source/src/fmactivate.h
53dae0d
--- fontmatrix-0.9.99-Source.old/src/fmactivate.h	2011-10-03 11:32:54.434204428 +0530
53dae0d
+++ fontmatrix-0.9.99-Source/src/fmactivate.h	2013-01-08 20:58:16.264618945 +0530
53dae0d
@@ -52,7 +52,7 @@
53dae0d
 		
53dae0d
 	private:
53dae0d
 		/*
53dae0d
-		Add and Remove fonts in ~/.fonts.conf
53dae0d
+		Add and Remove fonts in ~/.config/fontconfig/fonts.conf
53dae0d
 		with <selecfont><rejectfont><glob> sequence
53dae0d
 		*/
53dae0d
 		bool addFcReject(const QString& path);
53dae0d
diff -urN fontmatrix-0.9.99-Source.old/src/typotek.cpp fontmatrix-0.9.99-Source/src/typotek.cpp
53dae0d
--- fontmatrix-0.9.99-Source.old/src/typotek.cpp	2011-10-03 11:32:54.366203934 +0530
53dae0d
+++ fontmatrix-0.9.99-Source/src/typotek.cpp	2013-01-08 20:59:58.561676631 +0530
53dae0d
@@ -1093,7 +1093,7 @@
53dae0d
 void typotek::addFcDirItem(const QString & dirPath)
53dae0d
 {
53dae0d
 #ifdef HAVE_FONTCONFIG
53dae0d
-	QFile fcfile ( QDir::homePath() + "/.fonts.conf" );
53dae0d
+	QFile fcfile ( QDir::homePath() + "/.config/fontconfig/fonts.conf" );
53dae0d
 	if ( !fcfile.open ( QFile::ReadWrite ) )
53dae0d
 	{
53dae0d
 		return;
53dae0d
@@ -1102,7 +1102,7 @@
53dae0d
 	{
53dae0d
 		QDomDocument fc ( "fontconfig" );
53dae0d
 
53dae0d
-		// .fonts.conf is empty, it seems that we just created it.
53dae0d
+		// ~/.config/fontconfig/fonts.conf is empty, it seems that we just created it.
53dae0d
 		// Wed have to populate it a bit
53dae0d
 		if ( fcfile.size() == 0 )
53dae0d
 		{