Date: prev next · Thread: first prev next last
2019 Archives by date, by thread · List index


On Sat, 2019-03-23 at 02:23 +0000, Luke Benes wrote:
On a fresh install of Arch, I installed the 
https://wiki.documentfoundation.org/Development/Linux_Build_Dependencies
  requirements. During the build I get the following notification:

Additional Fonts Required
An application is requesting additional fonts. 

Clicking on the notification, the Software center says, "Japanese and
Korean you were searching for could not be found"

What fonts do I need?

This attempt to install missing fonts is presumably coming from
vcl/unx/generic/fontmanager/fontconfig.cxx:1050 the line containing
":lang=". Presumably there aren't fonts installed that has support for
some code points used in some tests somewhere or that are categorized
as Japanese and Korean code points.

So the request isn't for specific named fonts, but for fonts that
support Korean and fonts that support Japanese, as a proxy for "fonts
that probably contain these missing codepoints"

i.e. to have something listed by "fc-list :lang=ko" and
"fc-list :lang=ja". Under fedora, at least, that can be manually done
as "dnf install 'font(:lang=ko)'"

Anyhow, we probably don't want the build tests to go around requesting
fonts to be installed during the build

The block is protected by Application::IsHeadlessModeEnabled() and by 
officecfg::Office::Common::PackageKit::EnableFontInstallation so
depending on what test is triggering it tweaking the caller to disable
EnableFontInstallation should make it stop doing that.

Adding std::abort probably would help track down the test in question.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.