Send plymouth mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freedesktop.org/mailman/listinfo/plymouth
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of plymouth digest..."
Today's Topics:
1. Re: Bitmap text renderer (Charlie Brej)
2. Re: Bitmap text renderer (Ray Strode)
----------------------------------------------------------------------
Message: 1
Date: Mon, 12 Oct 2009 21:40:56 +0100
From: Charlie Brej <[email protected]>
Subject: Re: Bitmap text renderer
To: Ray Strode <[email protected]>
Cc: plymouth <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8; format=flowed
On 12/10/09 16:24, Ray Strode wrote:
> Hi,
>
> On Sat, Oct 10, 2009 at 2:53 PM, Charlie Brej<[email protected]> wrote:
>> Noticed some people were having problems wanting text messages before / is
>> mounted. How about a bitmap text renderer? I hacked one up. It is pretty
>> small (7kb compiled stripped).
> I pushed this to the bitmap-label-control branch here:
>
> http://cgit.freedesktop.org/plymouth/log/?h=bitmap-label-control
>
> Did you write all those glyphs by hand?! that must have taken time :-)
Actually I should have mentioned the copyright might be from the kernel. Just
hexdumped and seded. I'll poke around find a license and a name to put on.
> I think this approach might be useful for some use cases, but it has a
> big drawback:
>
> 1) Still requires copying translations to the initrd
> 2) Doesn't have sufficient font converage to render strings in
> arbitrary languages.
Yeah, I just meant this to be a backup which usually doesn't get shown.
Ideally the best approach might be to pre-render using a tiny pango based text
to png program, in the desired language, and put that in the initrd. Then if
the
pango plugin load fails, it looks in the prerendered directory for an image.
Use
a CRC of the text for the image filenames.
This is in the case of wanting to flash up "Press esc for details", passwrd for
/ or swap...
------------------------------
Message: 2
Date: Mon, 12 Oct 2009 18:00:29 -0400
From: Ray Strode <[email protected]>
Subject: Re: Bitmap text renderer
To: Charlie Brej <[email protected]>
Cc: plymouth <[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=UTF-8
Hi,
> Ideally the best approach might be to pre-render using a tiny pango based
> text to png program, in the desired language, and put that in the initrd.
> Then if the pango plugin load fails, it looks in the prerendered directory
> for an image. Use a CRC of the text for the image filenames.
>
> This is in the case of wanting to flash up "Press esc for details", passwrd
> for / or swap...
So there was a recent thread on fedora-devel-list where Kevin Kofler
proposed that, too.
See
https://www.redhat.com/archives/fedora-devel-list/2009-October/msg00207.html
https://www.redhat.com/archives/fedora-devel-list/2009-October/msg00214.html
https://www.redhat.com/archives/fedora-devel-list/2009-October/msg00225.html
We could do it, although it's unclear to me whether we should do it.
There isn't much advantage to being able to display text that early
and it's a big can of worms.
--Ray
------------------------------
_______________________________________________
plymouth mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/plymouth
End of plymouth Digest, Vol 13, Issue 6
***************************************