Re: label performance patch
- From: Tim Janik <timj gtk org>
- To: Owen Taylor <otaylor redhat com>
- Cc: Alex Larsson <alexl redhat com>, Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: label performance patch
- Date: Wed, 14 Nov 2001 06:33:24 +0100 (CET)
On 14 Nov 2001, Owen Taylor wrote:
>
> 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.
uhm, it's quite poor to not have fill justification for the cases
that worked in 1.2. while fixing this for i18n text might still require
more time than we currently have, we should at least get it back to work
for the western languages.
>
> Regards,
> Owen
>
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]