diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-09-24 19:59:43 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-09-25 09:27:58 +0200 |
commit | d383d0e9852ac52c36b138c33ce3b3ede8df9215 (patch) | |
tree | 006e0ef17439214d104b2c0651b459c6d132dd73 /vcl/unx | |
parent | 59ec0fe032badfb9dae59f27e97f842c11c60d98 (diff) |
Install fc_local.conf only where used
...and at least issue a SAL_INFO when it's missing (there may theoretically be
multiple directories, and it need not be present in every one, so nothing
stronger than SAL_INFO can be used)
Change-Id: I9b7257a551626e5ad081cfb75422a8bd71b86aa4
Reviewed-on: https://gerrit.libreoffice.org/42714
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/generic/fontmanager/fontconfig.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/unx/generic/fontmanager/fontconfig.cxx b/vcl/unx/generic/fontmanager/fontconfig.cxx index 37f45aeac71c..459678819575 100644 --- a/vcl/unx/generic/fontmanager/fontconfig.cxx +++ b/vcl/unx/generic/fontmanager/fontconfig.cxx @@ -681,6 +681,8 @@ void PrintFontManager::addFontconfigDir( const OString& rDirName ) reinterpret_cast<FcChar8 const *>(aConfFileName.getStr()), FcTrue); if( !bCfgOk ) fprintf( stderr, "FcConfigParseAndLoad( \"%s\") => %d\n", aConfFileName.getStr(), bCfgOk ); + } else { + SAL_INFO("vcl", "cannot open " << aConfFileName); } } |