It's open source -- if you write it, we're willing to take it! On 6/18/07, M. Dietrich <[EMAIL PROTECTED]> wrote: > On Wed, Jun 13, 2007 at 04:28:16PM -0500, Ben Combee wrote: > > On 6/13/07, M. Dietrich <[EMAIL PROTECTED]> wrote: > > >i encounter a strange effect with GetStringBreak. it cuts the string > > >nicely at blank-delimiters to fit the width but words that are too > > >long are not split. instead ret_next_line is the same as before and > > >ret_str_length is a smaller value than expected (more chars could be > > >put on that line - blanks ignored). > > > > > >is this correct behavior? or a bug? how should a program react here? > > > > This sounds like a bug to me. Looking at the code, there's no check > > to see if the word is the only word on a line > > > > The documentation for this API doesn't describe how it handles a word > > that's too long, so a patch for this would update the behavior and > > also document that when there is only one word, the code will truncate > > the word and return a pointer into the middle of the word. > > would be very nice to have a simple method that supports > hyphenation, perhaps with a callback-function. what do you think? > > best regards, > michael > > _______________________________________________ > directfb-users mailing list > [email protected] > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users >
_______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
