Replying to myself again, I think I just found character wrapping in trunk, in pyglet/text/layout.py
I'm going to give trunk a shot, and see if this works. thanks, cjl On Apr 16, 5:13 pm, cjl <[email protected]> wrote: > OK --again, sorry for the double post, please ignore the other one. > > Replying to myself, it looks like what I am asking about is 'character > wrapping'. > I see on the ReleaseSchedule page in the wiki that this was a wishlist > item, but has since been crossed out. > > Does this mean that the feature has been completed? > > thanks, > cjl > > On Apr 16, 11:19 am, cjl <[email protected]> wrote: > > > My two year old daughter loves making 'letters' on my computer, which > > until now has meant my opening Word, changing the font size to 72, and > > letting her type away. > > > So, I thought I would try and make something for her in Pyglet. I've > > taken a look at text_input.py, and I think I understand the basics. > > > I've got a fullscreen window with a fun background image, a big white > > font, etc...but I can't figure out how to make the text 'wrap' like it > > does in Word. For example, if she holds down a letter key in Word the > > document will fill from left to right with a single letter, then wrap > > at the end of the line. In Pyglet, wrapping only takes place > > (multiline=True) after a space or line break, as near as I can > > figure. > > > I'm guessing that there's probably a way to do this, but I need a > > little help. Can anyone point me in the right direction? > > > thanks, > > cjl --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
