vcl/unx/generic/fontmanager/fontconfig.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 5dbe2a1488de444c4af23a6009f9f16bba399052 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Aug 11 16:05:55 2022 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu Aug 11 21:21:45 2022 +0200 don't worry about Linux Libertine O vs Linux Libertine G Change-Id: I3f7418380e655b6c25e675493d859444e343d646 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138149 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/unx/generic/fontmanager/fontconfig.cxx b/vcl/unx/generic/fontmanager/fontconfig.cxx index 24ff67b4b893..0be8062cbadf 100644 --- a/vcl/unx/generic/fontmanager/fontconfig.cxx +++ b/vcl/unx/generic/fontmanager/fontconfig.cxx @@ -1185,6 +1185,8 @@ void PrintFontManager::Substitute(vcl::font::FontSelectPattern &rPattern, OUStri // ImplFontMetricData::ImplInitTextLineSize return; } + if (rPattern.maTargetName == "Linux Libertine G" && rPattern.maSearchName == "Linux Libertine O") + return; SAL_WARN("vcl.fonts", "PrintFontManager::Substitute: missing font: '" << rPattern.maTargetName << "' try: " << rPattern.maSearchName << " instead"); std::abort();