现在在单词过长（超过行长）时会强制换行。


On Tue, Sep 3, 2013 at 9:41 AM, Proton <notifications@github.com> wrote:

> In src/pyglet/text/layout.py:
>
> >                      index += 1
> >                      eol_ws = 0
> > -
> > +
> > +                    if unicat(text) == 'Lo':
> > +                        for run in run_accum:
> > +                            line.add_box(run)
> > +                        run_accum = []
> > +                        run_accum_width = 0
> > +                        owner_accum_commit.extend(owner_accum)
> > +                        owner_accum_commit_width += owner_accum_width
> > +                        eol_ws = 0
> > +                        owner_accum = []
> > +                        owner_accum_width = 0
> > +                        next_start = index
> > +
> >              # The owner run is finished; create GlyphBoxes for the committed
> >              # and pending glyphs.
> >              if owner_accum_commit:
>
> 关键是我不想要这种行为啊……
> 我想要在所有的地方都可以折行
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/feisuzhu/thbattle/pull/18/files#r6116408>
> .
>