On Tue, Mar 24, 2009 at 5:57 AM, Nicolas Rougier
<[email protected]> wrote:
>
>
> Hello,
>
> I've a question concerning TextLayout and word wrap mode, would that
> be possible (easy ?) to implement justification (i.e. adjust space
> between wrapped-word such that all lines are equal in width ?)

If you're willing to hack pyglet source, it would be a pretty simple
thing to do this in the naive way (e.g., like a web browser).  But
fully justified text done like this usually looks quite horrible --
proper typesetting, including hyphenation, is a much harder problem,
and the algorithms in use today aren't real-time, and often need human
intervention.

Alex.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to