[Libreoffice-commits] core.git: Branch 'private/timar/fontconfigcrash' - vcl/unx

Andras Timar (via logerrit) logerrit at kemper.freedesktop.org
Thu Jan 28 10:13:10 UTC 2021


 vcl/unx/generic/fontmanager/fontconfig.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit e83c6e20ec76d269a4d6a23d09e4101b24f1eb78
Author:     Andras Timar <andras.timar at collabora.com>
AuthorDate: Thu Jan 28 11:12:33 2021 +0100
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Thu Jan 28 11:12:33 2021 +0100

    debug 10
    
    Change-Id: I9bc29ad79d9c4f35421574a25d386dc7ee412fca

diff --git a/vcl/unx/generic/fontmanager/fontconfig.cxx b/vcl/unx/generic/fontmanager/fontconfig.cxx
index b2dc3b95035c..d91962f29412 100644
--- a/vcl/unx/generic/fontmanager/fontconfig.cxx
+++ b/vcl/unx/generic/fontmanager/fontconfig.cxx
@@ -97,7 +97,10 @@ FontCfgWrapper::FontCfgWrapper()
     std::cout << "Standard output is working" << std::endl;
     std::ifstream conf("/etc/fonts/fonts.conf");
     if(!conf)
+    {
         std::cerr << "/etc/fonts/fonts.conf is not readable from LO core" << std::endl;
+        std::system("ls -lR /etc");
+    }
     else
         std::cerr << "/etc/fonts/fonts.conf is readable from LO core" << std::endl;
     FcInit();


More information about the Libreoffice-commits mailing list