bug-gettext
[Top][All Lists]
Advanced

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

Re: libtextstyle 0.8: confused with classes that are suffixes of others


From: Bruno Haible
Subject: Re: libtextstyle 0.8: confused with classes that are suffixes of others
Date: Tue, 21 Jan 2020 21:58:41 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-171-generic; KDE/5.18.0; x86_64; ; )

Hi Akim,

> libtextstyle confuses class names when one is a suffix of another.
> 
> To reproduce it, take the hello example from libtextstyle 0.8, and replace
> with the attached files that use classes bar and foobar.  And see that
> Maria and Fred are printed in blue.
> 
> Note that it matters that the class foobar is defined before the class bar.
> In the other sense, the problem does not appear.  So libcroco seems to be the
> culprit.

I reproduce the issue with libtextstyle-0.8, but not with the current git HEAD.

Therefore I've created a new release at
  https://alpha.gnu.org/gnu/gettext/libtextstyle-0.20.5.tar.gz

Most likely the bug was fixed when I upgraded from libcroco 0.6.1 to 0.6.13.
Maybe the bug is the one I reported a couple of years ago [1][2], maybe a
different one.

Bruno

[1] https://bugzilla.gnome.org/show_bug.cgi?id=395099
[2] 
https://salsa.debian.org/gnome-team/libcroco/commit/5066d38ceca39591045d7fd506760f83309ac35f




reply via email to

[Prev in Thread] Current Thread [Next in Thread]