Re: label performance patch



Tim Janik <timj gtk org> writes:

> On Tue, 13 Nov 2001, Alex Larsson wrote:
> 
> > GtkLabel keeps reflowing wrapped labels all the time. Here is a fix:
> 
> > @@ -1346,8 +1342,8 @@ gtk_label_ensure_layout (GtkLabel *label
> >     *     5. gtk_misc_set_padding has changed xpad.
> >     *     6.  maybe others?...
> >     *
> > -   * Too much of a pain to detect all these case, so always re-fill.  I
> > -   * don't think it's really that slow.
> > +   * (un)Fortunately, PangoLayout does not currently support GTK_JUSTIFY_FILL,
> > +   * so this is not an issue.
> >     */
> 
> is this going to be fixed any time soon? i'd rather not loose GTK_JUSTIFY_FILL
> for 2.0 labels.

No, this is not going to be fixed for Pango-1.0 / GTK+-2.0. Correct
fill justification for international text is rather a hard problem
and while planned for Pango is not a high priority at this point.

Regards,
                                        Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]