[Libreoffice-commits] core.git: Branch 'private/timar/fontconfigcrash' - vcl/unx
Andras Timar (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jan 27 21:35:31 UTC 2021
vcl/unx/generic/fontmanager/fontconfig.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit de397849dbdc3baa6aca54424c5d88a9264d67a4
Author: Andras Timar <andras.timar at collabora.com>
AuthorDate: Wed Jan 27 22:34:55 2021 +0100
Commit: Andras Timar <andras.timar at collabora.com>
CommitDate: Wed Jan 27 22:34:55 2021 +0100
debug 6
Change-Id: I0584c7e973a976d684bc5f2550076c277821c79f
diff --git a/vcl/unx/generic/fontmanager/fontconfig.cxx b/vcl/unx/generic/fontmanager/fontconfig.cxx
index e7bc6466a0ac..7c6d515a122f 100644
--- a/vcl/unx/generic/fontmanager/fontconfig.cxx
+++ b/vcl/unx/generic/fontmanager/fontconfig.cxx
@@ -91,6 +91,8 @@ FontCfgWrapper::FontCfgWrapper()
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);
+ std::cerr << "FONTCONFIG_PATH: " << getenv("FONTCONFIG_PATH") << std::endl;
FcInit();
std::cerr << "FcInit() OK" << std::endl;
}
More information about the Libreoffice-commits
mailing list