On 15/12/2007, Julien PUYDT <[EMAIL PROTECTED]> wrote:
> Sandra et Yannig a écrit :
> > On Friday 14 December 2007 22:02:43 Matthieu Fertré wrote:
> >> Here are the issues I have in mind :
> >> - no support for different text formats (italic, bold) in one text.
> >
> > This kind of things can be easily done using sdl-pango (see
> > https://gna.org/task/?5485, and a little screenshot :
> > https://gna.org/task/download.php?file_id=3000).
>
> Doesn't that make one more dep?
>
> >> - text is handled as surface, thus, it's not so easy to manage scrolling
> >> even if it's possible. We can imagine to scroll paragraph by paragraph.
> >> - probably needs to  read text from file to manage easily language
> >> translations. However, in that case, how to manage picture integration
> >> in the manual.
> >> - need a motivated coder that is not working on something else ;)
> >
> > You are right ... this kind of work gone to be a huge effort. But what about
> > using directly a web browser ?
>
> Would it be possible to build a (big) image of the text, then use the
> code which is used to scroll on a map for that too?

Just to be clear on this, it *has*to*be* generated at runtime.
Otherwise we end up only with an English tutorial.

> It could become interesting if sdl-pango has an api like :
> image = sdl_pango (text_with_formatting, screen_width);
> (where the height will be determined by making the text flow)
>
> That would leave open the question of embedding the images within the text.
>
> Snark
>
> _______________________________________________
> Wormux-dev mailing list
> Wormux-dev@gna.org
> https://mail.gna.org/listinfo/wormux-dev
>


-- 
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à