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

Andras Timar (via logerrit) logerrit at kemper.freedesktop.org
Wed Jan 27 22:19:45 UTC 2021


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

New commits:
commit b0c0d6bec533ec9edb14add4bfbb257723de97c7
Author:     Andras Timar <andras.timar at collabora.com>
AuthorDate: Wed Jan 27 23:19:03 2021 +0100
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Wed Jan 27 23:19:03 2021 +0100

    debug 7
    
    Change-Id: I240d991346da474fca2b5dde026afa8c26ed8984

diff --git a/vcl/unx/generic/fontmanager/fontconfig.cxx b/vcl/unx/generic/fontmanager/fontconfig.cxx
index 7c6d515a122f..6ac5540d40ad 100644
--- a/vcl/unx/generic/fontmanager/fontconfig.cxx
+++ b/vcl/unx/generic/fontmanager/fontconfig.cxx
@@ -89,9 +89,9 @@ FontCfgWrapper::FontCfgWrapper()
     : m_pFontSet( nullptr )
 {
     std::cerr << "next: FcInit()" << std::endl;
-    setenv("FC_DEBUG", "8191", 1);
-    std::cerr << "FONTCONFIG_PATH: " << getenv("FONTCONFIG_PATH") << std::endl;
-    setenv("FONTCONFIG_PATH", "/etc/fonts/", 1);
+    setenv("FC_DEBUG", "1024", 1);
+//    std::cerr << "FONTCONFIG_PATH: " << getenv("FONTCONFIG_PATH") << std::endl;
+    setenv("FONTCONFIG_PATH", "/etc/fonts", 1);
     std::cerr << "FONTCONFIG_PATH: " << getenv("FONTCONFIG_PATH") << std::endl;
     FcInit();
     std::cerr << "FcInit() OK" << std::endl;


More information about the Libreoffice-commits mailing list