Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 675235 Details for
Bug 893080
Fontmatrix creates a deprecated $HOME/.fonts.conf file
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
move the .fonts.conf file location
bug893080-move-fonts-config-file.patch (text/plain), 3.62 KB, created by
Parag Nemade
on 2013-01-09 04:05:01 UTC
(
hide
)
Description:
move the .fonts.conf file location
Filename:
MIME Type:
Creator:
Parag Nemade
Created:
2013-01-09 04:05:01 UTC
Size:
3.62 KB
patch
obsolete
>diff -urN fontmatrix-0.9.99-Source.old/fontmatrix.1 fontmatrix-0.9.99-Source/fontmatrix.1 >--- fontmatrix-0.9.99-Source.old/fontmatrix.1 2011-10-03 11:32:54.357203868 +0530 >+++ fontmatrix-0.9.99-Source/fontmatrix.1 2013-01-08 21:27:30.704581547 +0530 >@@ -53,10 +53,10 @@ > User preferences are stored in $HOME/.fontmatrix/ on Unix or Linux. Most other paths are configurable from the Fontmatrix preferences. > .B $HOME/.fonts/ > .TP >-.B $HOME/.fonts.conf >+.B $HOME/.config/fontconfig/fonts.conf > .TP > .B /etc/fonts >-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. >+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. > .SH "RELATED SOFTWARE AND AFFILIATES" > Scribus \- http://www.scribus.net > >diff -urN fontmatrix-0.9.99-Source.old/src/fmactivate.cpp fontmatrix-0.9.99-Source/src/fmactivate.cpp >--- fontmatrix-0.9.99-Source.old/src/fmactivate.cpp 2011-10-03 11:32:54.428204383 +0530 >+++ fontmatrix-0.9.99-Source/src/fmactivate.cpp 2013-01-08 20:58:56.616642198 +0530 >@@ -285,7 +285,7 @@ > bool FMActivate::addFcReject(const QString & path) > { > #ifdef HAVE_FONTCONFIG >- QFile fcfile ( QDir::homePath() + "/.fonts.conf" ); >+ QFile fcfile ( QDir::homePath() + "/.config/fontconfig/fonts.conf" ); > if ( !fcfile.open ( QFile::ReadWrite ) ) > { > qWarning()<<"Cannot open"<< fcfile.fileName(); >@@ -380,7 +380,7 @@ > bool FMActivate::remFcReject(const QString & path) > { > #ifdef HAVE_FONTCONFIG >- QFile fcfile ( QDir::homePath() + "/.fonts.conf" ); >+ QFile fcfile ( QDir::homePath() + "/.config/fontconfig/fonts.conf" ); > if ( !fcfile.open ( QFile::ReadWrite ) ) > { > return false; >diff -urN fontmatrix-0.9.99-Source.old/src/fmactivate.h fontmatrix-0.9.99-Source/src/fmactivate.h >--- fontmatrix-0.9.99-Source.old/src/fmactivate.h 2011-10-03 11:32:54.434204428 +0530 >+++ fontmatrix-0.9.99-Source/src/fmactivate.h 2013-01-08 20:58:16.264618945 +0530 >@@ -52,7 +52,7 @@ > > private: > /* >- Add and Remove fonts in ~/.fonts.conf >+ Add and Remove fonts in ~/.config/fontconfig/fonts.conf > with <selecfont><rejectfont><glob> sequence > */ > bool addFcReject(const QString& path); >diff -urN fontmatrix-0.9.99-Source.old/src/typotek.cpp fontmatrix-0.9.99-Source/src/typotek.cpp >--- fontmatrix-0.9.99-Source.old/src/typotek.cpp 2011-10-03 11:32:54.366203934 +0530 >+++ fontmatrix-0.9.99-Source/src/typotek.cpp 2013-01-08 20:59:58.561676631 +0530 >@@ -1093,7 +1093,7 @@ > void typotek::addFcDirItem(const QString & dirPath) > { > #ifdef HAVE_FONTCONFIG >- QFile fcfile ( QDir::homePath() + "/.fonts.conf" ); >+ QFile fcfile ( QDir::homePath() + "/.config/fontconfig/fonts.conf" ); > if ( !fcfile.open ( QFile::ReadWrite ) ) > { > return; >@@ -1102,7 +1102,7 @@ > { > QDomDocument fc ( "fontconfig" ); > >- // .fonts.conf is empty, it seems that we just created it. >+ // ~/.config/fontconfig/fonts.conf is empty, it seems that we just created it. > // Wed have to populate it a bit > if ( fcfile.size() == 0 ) > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 893080
: 675235