[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: =?us-ascii?Q?Re=3A=20Re=3A=20fbsplash=20=2D=20text=20rendering?=
From: Jiøí Gabriel <george.gabriel () seznam ! cz>
Date: 2009-09-27 19:04:53
Message-ID: 3711.6991-17996-50103124-1254078293 () seznam ! cz
[Download RAW message or body]
> From: Denys Vlasenko <vda.linux@googlemail.com>
> Subject: Re: fbsplash - text rendering
> Date: 27 September 2009 03:05
> ----------------------------------------
> On Saturday 26 September 2009 21:55, Jiøí Gabriel wrote:
> > > Maybe later. Let's have at least something simpler first.
> > >
> > > > Command "write:text" -
> > > > colorized by \e[30m .. \e[1;37m sequences for console compatibility
> > > > and colorize char by char.
> > >
> > > We'll need ESC parser. Kinda complex.
> >
> > ESC parser is about 260 bytes and command parameter color parser is about 150
> bytes.
> > 100 bytes for compatibility with init.d functions (Starting........[ OK ])
> where OK is green.
>
> I'm sorry, but I NAK this. At least for now.
> We don't have ANY text rendering now.
> Let's add something _simple_ first.
>
> Not to mention that whoever invented colorized "Starting........[ OK ]"
> stuff wasn't experienced enough to realize that any messages
> from starting service will mess up the display:
>
> Starting foo........
> foo: bar is fubared, running baz instead
> [ OK ]
>
> Great... and I do see this idiotism every time I boot my laptop.
> How many hours of admin experience was under the belt of
> the "inventor" of it? On his computers, no services,
> ever, emit messages?
>
> > > > Need anyone more than 16 colors in splash
> > > > texts?
> > >
> > > Yes, I bet people will want that.
> >
> > OK \e[R;G;Bm - nonstandard ESC, +10 bytes of code
> >
> > > > First char of text can be \r - then last text line
> > > > is replaced by new one otherwise old text scroll up (when multi
> > > > line textbox) and new line is displayed.
> > >
> > > Maybe later. Let's have at least something simpler first,
> > > for example, simple non-wrapping output at any point in the image
> > > (the "cursor" goes to the right and off the screen).
> > > This is simple(r) to code.
> > >
> > > > Command can be named
> > > > "echo" for intuitive use.For clearing text can be usable
> > > > textbox command without parameters.After writing texts,
> > > > new use of command textbox always erase old textbox area
> > > > and define new.
> > >
> > > And if user does NOT want to erase text?
> >
> > New command for permanent (unerasable no rewritable) text output to any
> position like "put,ROW,COL:text" ?
>
> we have nothing so far.
>
> I really think it's better to start with small changes,
> not add a whole bunch of stuff at once.
>
OK.
In my opinion first change on actual fbsplash may be delimitation for 16bpp only,
enable use of compressed image of any size - centered on screen
and bugfix on framebuffers with bigger virtual than visible resolution.
--
tykef
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic