Thank you for your response ...
Stupid me, I wasn't looking at alignment ... :-(
Anyway, I've changed more things in library.
First patch stays there in library.
textout_centre_ex isnt using render function anymore, it's render_char no=
Alignment now works perfectly, I've tested with multiple lines.
At least for textout_centre_ex, I didn't fixed ..._right_ex or ...justify=
Btw, i've patched one more function in font.c, text_length ...
Counting stops if found '\n' char, I needed it for correct alignment.
Does developers agree with this ?
I've included two patch files (font.c.patch & text.c.patch)
Btw, Grzegorz Adam Hankiewicz, ok, I'll write patch for documentation als=
if developers agree with these changes in soruce code.
On Monday 29 December 2003 12:33, you wrote:
> Citerar Franjo Stipanovic <fr1c@...>:
> > As far as I've seen, patch is working fine ...
> > textout_centre_ex() is fine ...
> I haven't tested it, but AFAICS from the code it will center only the f=
> line, and then left align all other lines with the same left marginal a=
> first line. Moreover, the first line will be centered incorrectly becau=
> it uses the length of the whole string rather than the length of the fi=
> line. I meant that textout_centre_ex() should centre every line separat=
> (and similar for textout_right_ex(), textout_justify_ex()).
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills. Sign up for IBM=
> Free Linux Tutorials. Learn everything from the bash shell to sys admi=
> Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=CCk
Franjo Stipanovic, Fritz
Security & Developing