Text as an image

Charlie Brej plymouth at brej.org
Thu Sep 10 07:13:34 PDT 2009


On 10/09/09 15:12, Charlie Brej wrote:
> On 26/08/09 09:44, Frederic Crozat wrote:
>> Le mardi 18 août 2009 à 22:20 +0100, Charlie Brej a écrit :
>>> This is a very dirty hack to get the scripted plugin to be able to handle text.
>>>
>>> Use like this:
>>> image = ImageText("text to have in the image", red, green, blue);
>>>
>>> After the images and framebuffers have been migrated to pixbufs, this will be
>>> implemented properly.
>>
>> Here is an updated version, which doesn't crash when message is empty.
>
> And another updated version to deal with updated object layout. Compatibility
> functions mean no script code needs to change.

And another try with the file attached this time
-------------- next part --------------
A non-text attachment was scrubbed...
Name: text.patch
Type: text/x-patch
Size: 10062 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/plymouth/attachments/20090910/f28b2620/attachment.bin 


More information about the plymouth mailing list