Frederic Crozat wrote:
Le lundi 16 avril 2012 à 17:38 +0200, Ludwig Nussel a écrit :
Frederic Crozat wrote:
Le lundi 16 avril 2012 à 16:35 +0200, Ludwig Nussel a écrit :
Frederic Crozat wrote:
Le lundi 02 avril 2012 à 17:33 +0200, Bruno Friedmann a écrit :
One crazy idea, can't plymouth reuse the font needed by grub/grub2 ? those are available before any unlocking
The problem is not the font itself but the entire pango framework, which is not that small.
I wonder why though. We don't need to render fancy articles and layouts, especially not in initrd. We are talking about a single (english) sentence at most here. So for that simply using freetype directly to render the text into a buffer should suffice, right? There is no need for any full featured layout engine like pango.
This shouldn't be english only output (which is why plymouth is using pango + cairo).
Well, nice in theory. As a matter of fact we only need a few ascii characters in practice though. SUSE never had any translated boot messages. So the fancy pango stuff only results in bloat for no gain or nothing displayed and user completely left in the dark atm.
I don't agree with you, since I worked on another distro who had translated boot messages for years and I think it is important and just because SUSE didn't support it shouldn't mean it will never support it ;) And after all, we could drop to text mode if some people don't want to see pango in initrd but really want text printed..
I don't exactly understand what you are not agreeing with as I was just stating facts. Also, it was you who said "the entire pango framework ... is not that small". So let me repeat the facts: - plymouth is supposed to 1. hide boot messages 2. provide flicker free boot - initrd may need to prompt for a passphrase and give the user hints about it (like US keyboard layout, wrong password) - plymouth can only display text using pango so we have the choice between a) enlarging the initrd by including pango b) not display any text or hint at all c) use text mode for prompts d) use an alternative label.so that uses freetype directly instead of pango a) seems undesirable bloat esp since there is no localization at all in initrd and I doubt that will change until 12.2 (feel free to prove me wrong) b) is currently implemented and not satisfactory IMO c) fails 1. and 2. and doesn't provide localization either d) would fullfil 1. and 2. but would need someone to actually write C code ... cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org