Kaydet (Commit) 14d622f5 authored tarafından Miklos Vajna's avatar Miklos Vajna

vcl: make it easier to spot missing fonts (fontconfig backend)

Even better would be to show this on the UI, but that's more tricky:
it's not clear how to differentiate between the replacements which are
metric-compatible and the ones which are not.

Sample output:

PrintFontManager::Substitute: replacing missing font: 'Liberation Sansfoo' with 'Arial'

Change-Id: I96bf24f7e538fdfc163b9b6cab4b5a381bb4d760
Reviewed-on: https://gerrit.libreoffice.org/67342
Tested-by: Jenkins
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.com>
üst 162cc2aa
......@@ -1048,6 +1048,10 @@ void PrintFontManager::Substitute(FontSelectPattern &rPattern, OUString& rMissin
FcFontSetDestroy( pSet );
}
SAL_INFO("vcl.fonts", "PrintFontManager::Substitute: replacing missing font: '"
<< rPattern.maTargetName << "' with '" << rPattern.maSearchName
<< "'");
}
FontConfigFontOptions::~FontConfigFontOptions()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment