[PATCH] New FreeType-based label-ft plugin
Submitted by Fabian Vogt
Assigned to Ray Strode @halfline
Description
The attached patch series introduces a new plugin "label-ft", which only depends on FreeType. Its purpose is to be as lightweight as possible to be included in the initrd, to be able to display text, such as the password prompt. (See https://bugzilla.opensuse.org/show_bug.cgi?id=959986) Is is a replacement for the label plugin, except that it lacks support for Unicode and different font families. This shouldn't be an issue during the initrd and after the full root is available, the full "label" plugin is used instead, if available.
It requires a font file to be present at a fixed location in the initrd, so the plymouth-populate-initrd script takes care of that with fontconfig. If fontconfig is available during runtime, label-ft uses fc-match to determine which file to use.
For now, this is only a request for review, as it's not thoroughly tested yet.