You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libreoffice/0001-debug-missing-font.patch

26 lines
1018 B

From 92a78184978122a66a8a42baf8b44b6e97bbec8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
Date: Wed, 10 Aug 2022 19:41:40 +0100
Subject: [PATCH] debug missing font
Change-Id: I4ebdd577d68fb12a01c3e2efb8b7d7cea8f998cf
---
vcl/unx/generic/fontmanager/fontconfig.cxx | 1 +
1 file changed, 1 insertion(+)
diff --git a/vcl/unx/generic/fontmanager/fontconfig.cxx b/vcl/unx/generic/fontmanager/fontconfig.cxx
index 1daf54b..fda7ba7 100644
--- a/vcl/unx/generic/fontmanager/fontconfig.cxx
+++ b/vcl/unx/generic/fontmanager/fontconfig.cxx
@@ -1189,6 +1189,7 @@ void PrintFontManager::Substitute(vcl::font::FontSelectPattern &rPattern, OUStri
return;
SAL_WARN("vcl.fonts", "PrintFontManager::Substitute: missing font: '" << rPattern.maTargetName <<
"' try: " << rPattern.maSearchName << " instead");
+ fprintf(stderr, "missing %s\n", rPattern.maTargetName.toUtf8().getStr());
std::abort();
}
}
--
2.35.3